mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-httpx: Rearange inputs, fix tests.
* gnu/packages/python-web.scm (python-httpx): Refresh test flags for skipped tests. [arguments]: Apply G-expressions. <test-flags>: Remove not existing tests from the ignore list. [propagated-inputs]: Remove python-charset-normalizer, python-chardet, and python-rfc3986; add python-anyio, python-h2, python-socksio, and python-zstandard. [native-inputs]: Remove python-trio-typing, python-wheel, and python-zstandard; add python-chardet. Change-Id: I62f668ee3659220938b268ac17fdf594a95d076c
This commit is contained in:
parent
b042675f86
commit
30ced940a5
1 changed files with 28 additions and 27 deletions
|
@ -8562,44 +8562,45 @@ Some things HTTP Core does do:
|
||||||
(build-system pyproject-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
|
;; 1401 passed, 1 skipped, 5 deselected
|
||||||
#:test-flags
|
#:test-flags
|
||||||
'(list "-vv" "-o" "asyncio_mode=auto"
|
#~(list "-o" "asyncio_mode=auto"
|
||||||
"-k"
|
;; CLI tests are broken.
|
||||||
|
"--ignore=tests/test_main.py"
|
||||||
|
"-k" (string-join
|
||||||
;; These tests try to open an outgoing connection.
|
;; These tests try to open an outgoing connection.
|
||||||
(string-append
|
(list "not test_async_proxy_close"
|
||||||
"not test_connect_timeout"
|
"test_sync_proxy_clos"
|
||||||
" and not test_that_send_cause_async_client_to_be_not_closed"
|
"test_write_timeout")
|
||||||
" and not test_that_async_client_caused_warning_when_being_deleted"
|
" and not "))))
|
||||||
" and not test_that_send_cause_client_to_be_not_closed"
|
|
||||||
" and not test_async_proxy_close"
|
|
||||||
" and not test_sync_proxy_close"
|
|
||||||
;; This test is apparently incompatible with
|
|
||||||
;; python-click 8, fails with " AttributeError:
|
|
||||||
;; 'function' object has no attribute 'name'".
|
|
||||||
" and not test_main"))))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list nss-certs-for-test
|
(list nss-certs-for-test
|
||||||
|
python-chardet
|
||||||
python-cryptography
|
python-cryptography
|
||||||
python-hatchling
|
|
||||||
python-hatch-fancy-pypi-readme
|
python-hatch-fancy-pypi-readme
|
||||||
|
python-hatchling
|
||||||
python-pytest
|
python-pytest
|
||||||
python-pytest-asyncio
|
python-pytest-asyncio
|
||||||
python-pytest-trio
|
python-pytest-trio
|
||||||
python-trio
|
|
||||||
python-trio-typing
|
|
||||||
python-trustme
|
|
||||||
python-uvicorn
|
|
||||||
python-setuptools
|
python-setuptools
|
||||||
python-wheel
|
python-trio
|
||||||
python-zstandard))
|
python-trustme
|
||||||
|
python-uvicorn))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list python-charset-normalizer
|
(list python-anyio
|
||||||
python-brotli
|
|
||||||
python-certifi
|
python-certifi
|
||||||
python-chardet
|
|
||||||
python-httpcore
|
python-httpcore
|
||||||
python-idna
|
python-idna
|
||||||
python-rfc3986
|
;; [brotli]
|
||||||
|
python-brotli
|
||||||
|
;; [http2]
|
||||||
|
python-h2
|
||||||
|
;; [socks]
|
||||||
|
python-socksio
|
||||||
|
;; [zstd]
|
||||||
|
python-zstandard
|
||||||
|
;; For trio, see:
|
||||||
|
;; <https://github.com/python-trio/trio/issues/2802>.
|
||||||
python-sniffio))
|
python-sniffio))
|
||||||
(home-page "https://www.python-httpx.org/")
|
(home-page "https://www.python-httpx.org/")
|
||||||
(synopsis "HTTP client for Python")
|
(synopsis "HTTP client for Python")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue