[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
108/232: gnu: python-anyio: Update to 3.5.0.
From: |
guix-commits |
Subject: |
108/232: gnu: python-anyio: Update to 3.5.0. |
Date: |
Sun, 24 Apr 2022 23:58:56 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit db09eae5e2fd2b48aca95e1fc81b025fc43cf1c9
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 b22cc0d9d9..c4889f61f4 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -25498,73 +25498,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")
- 85/232: gnu: Add python-sfdlib., (continued)
- 85/232: gnu: Add python-sfdlib., guix-commits, 2022/04/24
- 87/232: gnu: Add font-sil-ezra., guix-commits, 2022/04/24
- 89/232: gnu: Add font-gfs-ambrosia., guix-commits, 2022/04/24
- 90/232: gnu: python-click: Update to 8.1.2 and honor TESTS?., guix-commits, 2022/04/24
- 95/232: gnu: python-trio: Update to 0.20.0., guix-commits, 2022/04/24
- 98/232: gnu: python-greenlet: Update to 1.1.2., guix-commits, 2022/04/24
- 99/232: gnu: Add python-pytest-forked-next., guix-commits, 2022/04/24
- 101/232: gnu: Add python-ipyparallel-bootstrap., guix-commits, 2022/04/24
- 102/232: gnu: python-nest-asyncio: Update to 1.5.5., guix-commits, 2022/04/24
- 103/232: gnu: python-jupyter-core: Update to 4.10.0., guix-commits, 2022/04/24
- 108/232: gnu: python-anyio: Update to 3.5.0.,
guix-commits <=
- 109/232: gnu: python-nbclient: Update to 0.6.0., guix-commits, 2022/04/24
- 114/232: gnu: Add python-jupyter-server-mathjax., guix-commits, 2022/04/24
- 115/232: gnu: python-nbval: Fix build., guix-commits, 2022/04/24
- 116/232: gnu: python-send2trash: Update to 1.8.0 and update home page., guix-commits, 2022/04/24
- 122/232: gnu: Add python-sphinx-theme-builder., guix-commits, 2022/04/24
- 123/232: gnu: Add python-sphinx-sitemap., guix-commits, 2022/04/24
- 125/232: gnu: texlive-polyglossia: Rename and fix package., guix-commits, 2022/04/24
- 124/232: gnu: texlive-fontspec: Add missing propagated inputs., guix-commits, 2022/04/24
- 127/232: gnu: Add texlive-cbfonts., guix-commits, 2022/04/24
- 129/232: gnu: texlive-latex-geometry: Propagate texlive-latex-graphics., guix-commits, 2022/04/24