gnu: python-cheroot: Update to 10.0.1.

* gnu/packages/python-web.scm (python-cheroot): Update to 10.0.1.
[native-inputs]: Add new test dependencies.
[propagated-inputs]: Remove python-six.

Signed-off-by: jgart <jgart@dismail.de>
Change-Id: Iab514990288bdbb6acb8248b07b0dbdb32940068
This commit is contained in:
Sergey Trofimov 2024-12-19 23:11:41 +01:00 committed by jgart
parent 9629b68211
commit eb6d784852
No known key found for this signature in database
GPG key ID: A52AA2B477B6DD35

View file

@ -1402,14 +1402,14 @@ other HTTP libraries.")
(define-public python-cheroot (define-public python-cheroot
(package (package
(name "python-cheroot") (name "python-cheroot")
(version "10.0.0") (version "10.0.1")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "cheroot" version)) (uri (pypi-uri "cheroot" version))
(sha256 (sha256
(base32 (base32
"1w0ind0dza9j1py56y23344piqkpyfmcm060qfrnk6gggy3s3i2r")))) "0h0p3fnpa4dxi589s7ljlzb6p3mhqdivb3pc2f36pljqfrwjzf70"))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(arguments (arguments
(list (list
@ -1419,8 +1419,13 @@ other HTTP libraries.")
;; "--numprocesses=auto" ;; "--numprocesses=auto"
"--doctest-modules" "--doctest-modules"
"--showlocals" "--showlocals"
"-k" (string-append
;; Disable test requiring networking. ;; Disable test requiring networking.
"-k" "not test_tls_client_auth") "not test_tls_client_auth"
;; TypeError: HTTPConnection.request() got an unexpected keyword
;; argument 'chunked'
" and not test_peercreds_unix_sock"
" and not test_peercreds_unix_sock_with_lookup"))
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(replace 'check (replace 'check
@ -1430,25 +1435,21 @@ other HTTP libraries.")
(apply invoke "pytest" "-v" (apply invoke "pytest" "-v"
(append test-flags (list #$output)))))))))) (append test-flags (list #$output))))))))))
(propagated-inputs (propagated-inputs
(list python-jaraco-functools (list python-jaraco-functools python-more-itertools))
python-more-itertools
python-six))
(native-inputs (native-inputs
(list python-cryptography (list python-jaraco-text
python-jaraco-text
python-portend python-portend
python-pyopenssl python-pyopenssl
python-pypytools python-pypytools
python-pytest
python-pytest-cov python-pytest-cov
python-pytest-mock python-pytest-mock
python-pytest-xdist
python-requests python-requests
python-requests-toolbelt python-requests-toolbelt
python-requests-unixsocket python-requests-unixsocket
python-setuptools
python-setuptools-scm python-setuptools-scm
python-setuptools-scm-git-archive python-trustme
python-trustme)) python-wheel))
(home-page "https://cheroot.cherrypy.dev") (home-page "https://cheroot.cherrypy.dev")
(synopsis "Highly-optimized, pure-python HTTP server") (synopsis "Highly-optimized, pure-python HTTP server")
(description (description