~ruther/guix-local

33648682eb4654021a16901fe6ab1058bff09a4c — Hartmut Goebel 4 months ago 7d7a77c
gnu: python-elasticsearch: Update to 9.1.1.

* gnu/packages/python-web.scm (python-elasticsearch): Update to 9.1.1.
[arguments]: Remove.  [native-inputs]: Add nss-certs-for-test, python-aiohttp,
python-orjson, python-pytz, and python-hatchling; remove python-setuptools and
python-wheel [propagated-inputs]: Remove python-urllib3-1.26; add
python-elastic-transport.

Change-Id: I2ae29c16b673d0ea530ebc2f4c8177f80a7c3043
1 files changed, 9 insertions(+), 14 deletions(-)

M gnu/packages/python-web.scm
M gnu/packages/python-web.scm => gnu/packages/python-web.scm +9 -14
@@ 7492,7 7492,7 @@ libraries.")
(define-public python-elasticsearch
  (package
    (name "python-elasticsearch")
    (version "7.17.12")
    (version "9.1.1")
    (source
     (origin
       (method git-fetch)               ; no tests in PyPI release


@@ 7501,35 7501,30 @@ libraries.")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "0v3azgxh1nd0jyqhnb1w28ky3nfx8sjq5vlx2gp33v6vxmvqy1qr"))))
        (base32 "015x73y84nyigcyg00lh32p2pfrqf834fr7clfnzymgzrrxa73jf"))))
    (build-system pyproject-build-system)
    (arguments
     (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
     (list nss-certs-for-test
           python-aiohttp
           python-dateutil
           python-mock
           python-orjson
           python-pytest
           python-pytest-asyncio
           python-pytest-cov
           python-pytz
           python-pyyaml
           python-requests
           python-setuptools
           python-wheel))
           python-hatchling))
    (propagated-inputs
     (list python-certifi
           python-urllib3-1.26))
           python-elastic-transport))
    (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.")
    ;; Apache-2.0 in setup.py and LICENSE file for 11 years.
    ;; Apache-2.0 in setup.py and LICENSE file.
    (license license:asl2.0)))

(define-public python-engineio