diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-01-23 21:42:27 +0000 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2026-02-07 12:28:38 +0100 |
| commit | dd41cf4b34e6f5b037b0bf4bed218d636815e0ff (patch) | |
| tree | a561fa114ce33433122cb8a828d2708fc0cab88d /gnu/packages | |
| parent | 447a74cedd28ce91a78f3778f6511358d8521b59 (diff) | |
gnu: python-aiohttp: Update to 3.11.18.
* gnu/packages/python-web.scm (python-aiohttp): Update to 3.11.18.
[phases]{fix-pytest-config}: New phase.
[propagated-inputs]: Remove python-async-timeout.
[native-inputs]: Remove python-pytest-cov and python-wheel; add
python-isal.
Change-Id: Iddaa74cf3cae0ce50105c556311b0a43f761bea9
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/python-web.scm | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index eda84d3abd8..2bde63e43cb 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -2012,13 +2012,16 @@ for adding, removing and dropping callbacks.") (define-public python-aiohttp (package (name "python-aiohttp") - (version "3.11.11") + ;; TODO: Newer versions require zlib-ng: + ;; <https://github.com/zlib-ng/zlib-ng>, + ;; <https://github.com/pycompression/python-zlib-ng>. + (version "3.11.18") (source (origin (method url-fetch) (uri (pypi-uri "aiohttp" version)) (sha256 - (base32 "0gihj076nm3863sqfnbh786621w1ad7lj7fq88d85wzbwvqwfjdv")) + (base32 "12jmkxkc5nnk6ma6m7rrs0w4vzswfc47ffxn5m0pwav1708nx1df")) (snippet #~(begin (use-modules ((guix build utils))) @@ -2029,8 +2032,10 @@ for adding, removing and dropping callbacks.") (build-system pyproject-build-system) (arguments (list + ;; tests: 3045 passed, 32 skipped, 29 xfailed, 2 subtests passed #:test-flags '(list + "--numprocesses" (number->string (parallel-job-count)) ;; This tests requires the 'proxy.py' module, not yet packaged. "--ignore=tests/test_proxy_functional.py" ;; These tests need brotli. @@ -2067,6 +2072,12 @@ for adding, removing and dropping callbacks.") "and not test_add_static_path_resolution")) #:phases '(modify-phases %standard-phases + (add-after 'unpack 'fix-pytest-config + (lambda _ + (substitute* "setup.cfg" + (("--numprocesses=auto") "") + (("-p pytest_cov") "") + (("--cov.*") "")))) (add-after 'unpack 'fix-tests (lambda _ ;; Make sure the timestamp of this file is > 1990, because a few @@ -2086,7 +2097,6 @@ for adding, removing and dropping callbacks.") (propagated-inputs (list python-aiohappyeyeballs python-aiosignal - python-async-timeout python-attrs python-frozenlist python-multidict @@ -2096,13 +2106,12 @@ for adding, removing and dropping callbacks.") (list gunicorn-bootstrap python-cython python-freezegun + python-isal python-pytest - python-pytest-cov python-pytest-mock python-pytest-xdist python-re-assert - python-setuptools - python-wheel)) + python-setuptools)) (home-page "https://github.com/aio-libs/aiohttp/") (synopsis "Async HTTP client/server framework (asyncio)") (description "@code{aiohttp} is an asynchronous HTTP client/server |
