[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
108/166: gnu: python-anyio: Update to 3.5.0.
From: |
guix-commits |
Subject: |
108/166: gnu: python-anyio: Update to 3.5.0. |
Date: |
Tue, 19 Apr 2022 09:12:26 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython+polyglossia
in repository guix.
commit 8cca963e7bd682180c33858766ec536af9079df5
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Wed Apr 13 10:36:21 2022 -0400
gnu: python-anyio: Update to 3.5.0.
* gnu/packages/python-xyz.scm (python-anyio): Update to 3.5.0.
[phases]{fix-compatibility}: Delete phase.
{check}: Remove add-installed-pythonpath call. Expound comment about IPv6
issues. Skip the 'test_unretrieved_future_exception_server_crash' test.
[native-inputs]: Remove python-iniconfig. Use regular python-pytest.
Replace
python-pytest-trio by python-trio.
---
gnu/packages/python-xyz.scm | 88 +++++++++++++++++++++------------------------
1 file changed, 41 insertions(+), 47 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 0fb9f99307..6fdaf00150 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -25501,73 +25501,67 @@ standard error channel (stderr) in your program.")
(define-public python-anyio
(package
(name "python-anyio")
- (version "3.3.0")
+ (version "3.5.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "anyio" version))
(sha256
(base32
- "0x03hsprdrs86wjjkj96zm2jswy3a5bgyrknyi58pzz5hdsscmxf"))))
+ "19m58805wir4i2s45dd5ynwlzb7ky1218isbir53gpqzzgigzbm0"))))
(build-system python-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
- (add-after 'unpack 'fix-compatibility
- (lambda _
- (substitute* "tests/test_taskgroups.py"
- (("import pytest")
- "import pytest\nimport _pytest\nfrom _pytest import logging")
- (("pytest.LogCaptureFixture")
- "_pytest.logging.LogCaptureFixture"))))
(replace 'check
- (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+ (lambda* (#:key tests? #:allow-other-keys)
(when tests?
- (add-installed-pythonpath inputs outputs)
- (invoke "pytest" "-vv" "-p" "no:asyncio"
- "-m" "not network"
- "-k"
- (string-append
- "not test_is_block_device"
-
- ;; These fail because of network (or specifically
- ;; IPv6 network) access.
- " and not test_accept"
- " and not test_accept_after_close"
- " and not test_close_during_receive"
- " and not test_close_from_other_task"
- " and not test_concurrent_receive"
- " and not test_concurrent_send"
- " and not test_connect_tcp_with_tls"
- " and not test_connect_tcp_with_tls_cert_check_fail"
- " and not test_connection_refused"
- " and not test_extra_attributes"
- " and not test_getaddrinfo"
- " and not test_getnameinfo"
- " and not test_happy_eyeballs"
- " and not test_iterate"
- " and not test_receive_after_close"
- " and not test_receive_timeout"
- " and not test_reuse_port"
- " and not test_run_process"
- " and not test_send_after_close"
- " and not test_send_after_eof"
- " and not test_send_after_peer_closed"
- " and not test_send_eof"
- " and not test_send_large_buffer"
- " and not test_send_receive"
- " and not test_socket_options"))))))))
+ (invoke
+ "pytest" "-vv" "-p" "no:asyncio"
+ "-m" "not network"
+ "-k"
+ (string-append
+ "not test_is_block_device"
+
+ ;; These fail because of network (or specifically IPv6
+ ;; network) access (see:
+ ;; https://github.com/agronholm/anyio/issues/417).
+ " and not test_accept"
+ " and not test_accept_after_close"
+ " and not test_close_during_receive"
+ " and not test_close_from_other_task"
+ " and not test_concurrent_receive"
+ " and not test_concurrent_send"
+ " and not test_connect_tcp_with_tls"
+ " and not test_connect_tcp_with_tls_cert_check_fail"
+ " and not test_connection_refused"
+ " and not test_extra_attributes"
+ " and not test_getaddrinfo"
+ " and not test_getnameinfo"
+ " and not test_happy_eyeballs"
+ " and not test_iterate"
+ " and not test_receive_after_close"
+ " and not test_receive_timeout"
+ " and not test_reuse_port"
+ " and not test_run_process"
+ " and not test_send_after_close"
+ " and not test_send_after_eof"
+ " and not test_send_after_peer_closed"
+ " and not test_send_eof"
+ " and not test_send_large_buffer"
+ " and not test_send_receive"
+ " and not test_socket_options"
+ " and not
test_unretrieved_future_exception_server_crash"))))))))
(propagated-inputs
(list python-idna python-sniffio python-typing-extensions))
(native-inputs
(list python-coverage
python-hypothesis
- python-iniconfig
python-mock
- python-pytest-6
+ python-pytest
python-pytest-mock
- python-pytest-trio
python-setuptools-scm
+ python-trio
python-trustme
python-uvloop))
(home-page "https://github.com/agronholm/anyio")
- 152/166: gnu: python-pandas: Build and run tests in parallel., (continued)
- 152/166: gnu: python-pandas: Build and run tests in parallel., guix-commits, 2022/04/19
- 159/166: gnu: python-sparqlwrapper: Update to 2.0.0., guix-commits, 2022/04/19
- 164/166: gnu: python-types-dataclasses: Fix typo., guix-commits, 2022/04/19
- 52/166: gnu: Add python-jaraco-classes., guix-commits, 2022/04/19
- 48/166: gnu: python-pytest-black: Update to 0.3.12., guix-commits, 2022/04/19
- 72/166: gnu: Add python-scikit-build., guix-commits, 2022/04/19
- 44/166: gnu: Add python-pytest-enabler-bootstrap., guix-commits, 2022/04/19
- 31/166: gnu: Add python-defcon., guix-commits, 2022/04/19
- 70/166: gnu: python-pytest-shutil: Adjust to use python-path., guix-commits, 2022/04/19
- 88/166: gnu: Add texlive-bidi., guix-commits, 2022/04/19
- 108/166: gnu: python-anyio: Update to 3.5.0.,
guix-commits <=
- 34/166: gnu: Add python-ufoprocessor., guix-commits, 2022/04/19
- 50/166: gnu: Add python-types-docutils., guix-commits, 2022/04/19
- 25/166: gnu: python-fonttools-with-test: Rename to python-fonttools-full., guix-commits, 2022/04/19
- 36/166: gnu: Add python-types-toml., guix-commits, 2022/04/19
- 65/166: gnu: Add python-ordered-set., guix-commits, 2022/04/19
- 99/166: gnu: Add python-pytest-forked-next., guix-commits, 2022/04/19
- 82/166: gnu: Add python-ufolib2., guix-commits, 2022/04/19
- 94/166: gnu: pylint: Run tests in parallel., guix-commits, 2022/04/19
- 46/166: gnu: Add python-pip-run-bootstrap., guix-commits, 2022/04/19
- 92/166: gnu: Add python-untangle., guix-commits, 2022/04/19