[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
108/242: gnu: python-anyio: Replace python-pytest-trio with python-trio.
From: |
guix-commits |
Subject: |
108/242: gnu: python-anyio: Replace python-pytest-trio with python-trio. |
Date: |
Wed, 11 May 2022 18:03:00 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit 5a63e12fd4401b90fa76d39ba726afbfa44634a2
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Wed Apr 13 10:36:21 2022 -0400
gnu: python-anyio: Replace python-pytest-trio with python-trio.
* gnu/packages/python-xyz.scm (python-anyio)
[phases]{check}: Remove extraneous add-installed-pythonpath call.
Expound comment about IPv6 issues.
[native-inputs]: Use regular python-pytest. Replace python-pytest-trio by
python-trio.
---
gnu/packages/python-xyz.scm | 76 ++++++++++++++++++++++-----------------------
1 file changed, 38 insertions(+), 38 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index bf29edb78e..66260b3e89 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -25600,43 +25600,44 @@ standard error channel (stderr) in your program.")
`(#:phases
(modify-phases %standard-phases
(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"
- " and not
test_unretrieved_future_exception_server_crash"))))))))
+ (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-contextvars
python-dataclasses
@@ -25648,9 +25649,8 @@ standard error channel (stderr) in your program.")
python-coverage
python-hypothesis
python-mock
- python-pytest-6
+ python-pytest
python-pytest-mock
- python-pytest-trio
python-setuptools-scm
python-trio
python-trustme
- 90/242: gnu: python-click: Update to 8.1.2 and honor TESTS?., (continued)
- 90/242: gnu: python-click: Update to 8.1.2 and honor TESTS?., guix-commits, 2022/05/11
- 76/242: gnu: Add java-antlr4-runtime-cpp., guix-commits, 2022/05/11
- 85/242: gnu: Add python-sfdlib., guix-commits, 2022/05/11
- 97/242: gnu: Add python-debugpy., guix-commits, 2022/05/11
- 100/242: gnu: python-pytest-xdist-next: Update to 2.5.0., guix-commits, 2022/05/11
- 102/242: gnu: python-nest-asyncio: Update to 1.5.5., guix-commits, 2022/05/11
- 103/242: gnu: python-jupyter-core: Update to 4.10.0., guix-commits, 2022/05/11
- 104/242: gnu: python-jupyter-client: Update to 7.2.2., guix-commits, 2022/05/11
- 105/242: gnu: python-ipykernel: Update to 6.13.0., guix-commits, 2022/05/11
- 107/242: gnu: python-ipyparallel: Update to 8.2.1., guix-commits, 2022/05/11
- 108/242: gnu: python-anyio: Replace python-pytest-trio with python-trio.,
guix-commits <=
- 115/242: gnu: python-nbval: Fix build., guix-commits, 2022/05/11
- 120/242: gnu: python-sphinx: Propagate TexLive dependencies., guix-commits, 2022/05/11
- 125/242: gnu: texlive-polyglossia: Rename and fix package., guix-commits, 2022/05/11
- 126/242: gnu: Add texlive-cbfonts-fd., guix-commits, 2022/05/11
- 127/242: gnu: Add texlive-cbfonts., guix-commits, 2022/05/11
- 128/242: download: Add a mirror for CTAN., guix-commits, 2022/05/11
- 129/242: gnu: texlive-latex-geometry: Propagate texlive-latex-graphics., guix-commits, 2022/05/11
- 134/242: gnu: Add python-strict-rfc3339., guix-commits, 2022/05/11
- 132/242: gnu: python-ipython-documentation: Also build info and pdf targets., guix-commits, 2022/05/11
- 138/242: gnu: Add python-cbor2., guix-commits, 2022/05/11