[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
258/474: gnu: python-elasticsearch: Update to 7.17.12.
From: |
guix-commits |
Subject: |
258/474: gnu: python-elasticsearch: Update to 7.17.12. |
Date: |
Sat, 30 Nov 2024 18:20:32 -0500 (EST) |
sharlatan pushed a commit to branch python-team
in repository guix.
commit 06890d210dfed2b821094e7e6c01c5b4b82d7a03
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Wed Nov 6 22:35:21 2024 +0000
gnu: python-elasticsearch: Update to 7.17.12.
* gnu/packages/python-web.scm (python-elasticsearch): Update to 7.17.12.
[buld-system]: Swap to pyproject-build-system.
[arguments]<tests>: Enable them.
[propagated-inputs]: Remove python-urllib3; add python-urllib3-next.
[native-inputs]: Add python-aiohttp, python-dateutil, python-mock,
python-pytest, python-pytest-asyncio, python-pytest-cov, python-pyyaml,
python-requests, python-setuptools, and python-wheel.
[license]: Fix license.
Change-Id: I49692d919e8bf0ab8f7229f79e832f14c93fb895
---
gnu/packages/python-web.scm | 45 ++++++++++++++++++++++++++++++++-------------
1 file changed, 32 insertions(+), 13 deletions(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 56134a5430..6b01fd9fb9 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -5337,26 +5337,45 @@ CSS tidy. Also supports URL rewriting in CSS files.")
(define-public python-elasticsearch
(package
(name "python-elasticsearch")
- (version "7.13.4")
+ (version "7.17.12")
(source
- (origin
- (method url-fetch)
- (uri (pypi-uri "elasticsearch" version))
- (sha256
- (base32
- "1q38w9nh2j2yi82d8rhzb57597l4lq5zx7xzfg45xf7ffrgsipaj"))))
- (build-system python-build-system)
- (propagated-inputs
- (list python-certifi python-urllib3))
+ (origin
+ (method git-fetch) ; no tests in PyPI release
+ (uri (git-reference
+ (url "https://github.com/elastic/elasticsearch-py";)
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0v3azgxh1nd0jyqhnb1w28ky3nfx8sjq5vlx2gp33v6vxmvqy1qr"))))
+ (build-system pyproject-build-system)
(arguments
- ;; tests require the test_elasticsearch module but it is not distributed.
- `(#:tests? #f))
+ (list
+ #:test-flags
+ ;; Requiring network config.
+ #~(list "--ignore=test_elasticsearch/test_connection.py"
+ ;; All tests failed.
+ "--ignore=test_elasticsearch/test_async")))
+ (native-inputs
+ (list python-aiohttp
+ python-dateutil
+ python-mock
+ python-pytest
+ python-pytest-asyncio
+ python-pytest-cov
+ python-pyyaml
+ python-requests
+ python-setuptools
+ python-wheel))
+ (propagated-inputs
+ (list python-certifi
+ python-urllib3-next))
(home-page "https://github.com/elastic/elasticsearch-py";)
(synopsis "Low-level client for Elasticsearch")
(description "Official low-level client for Elasticsearch. Its goal is to
provide common ground for all Elasticsearch-related code in Python; because of
this it tries to be opinion-free and very extendable.")
- (license license:expat)))
+ ;; Apache-2.0 in setup.py and LICENSE file for 11 years.
+ (license license:asl2.0)))
(define-public python-engineio
(package
- 399/474: gnu: Add python-pytest-asyncio-0.23., (continued)
- 399/474: gnu: Add python-pytest-asyncio-0.23., guix-commits, 2024/11/30
- 403/474: gnu: python-uvloop: Update to 0.21.0., guix-commits, 2024/11/30
- 414/474: gnu: Add python-taskgroup., guix-commits, 2024/11/30
- 415/474: gnu: hypercorn: Update to 0.17.3., guix-commits, 2024/11/30
- 430/474: gnu: python-pyflakes: Move to pyproejct-build-system., guix-commits, 2024/11/30
- 218/474: gnu: python-cssselect2: Move to pyproject-build-system., guix-commits, 2024/11/30
- 448/474: gnu: python-omnipath: Remove pre-commit from native-inputs., guix-commits, 2024/11/30
- 449/474: gnu: python-seaborn: Remove pre-commit from native-inputs., guix-commits, 2024/11/30
- 454/474: gnu: pre-commit: Update to 3.7.1., guix-commits, 2024/11/30
- 460/474: gnu: python-networkx: Update to 3.4.2., guix-commits, 2024/11/30
- 258/474: gnu: python-elasticsearch: Update to 7.17.12.,
guix-commits <=
- 265/474: gnu: python-nose-exclude: Adjust iputs., guix-commits, 2024/11/30
- 270/474: gnu: python-pytest-virtualenv: Update to 1.8.0., guix-commits, 2024/11/30
- 271/474: gnu: python-robotframework-datadriver: Update to 1.11.2., guix-commits, 2024/11/30
- 272/474: gnu: python-scikit-fem: Update to 10.0.2., guix-commits, 2024/11/30
- 291/474: gnu: Add python-rich-tables., guix-commits, 2024/11/30
- 303/474: gnu: python-pexpect: Improve package style., guix-commits, 2024/11/30
- 284/474: gnu: Add python-sphinx-design., guix-commits, 2024/11/30
- 41/474: gnu: python-pycurl: Add missing inputs., guix-commits, 2024/11/30
- 48/474: gnu: python-joblib: Add missing inputs., guix-commits, 2024/11/30
- 37/474: gnu: python-eventlet: Update to 0.35.2., guix-commits, 2024/11/30