mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 12:05:19 -06:00
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
This commit is contained in:
parent
1d9e1111a2
commit
e8d476c693
1 changed files with 15 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue