[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: |
Thu, 12 May 2022 14:14:15 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit abb7617f204fe800cb19233101cb7334bfd1d0ff
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 b573a7cd15..60c2e0e3cd 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -25610,43 +25610,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
@@ -25658,9 +25659,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
- 59/242: gnu: Add python-pytest-perf., (continued)
- 59/242: gnu: Add python-pytest-perf., guix-commits, 2022/05/12
- 65/242: gnu: Add python-ordered-set., guix-commits, 2022/05/12
- 69/242: gnu: python-pathpy: Deprecate by python-path., guix-commits, 2022/05/12
- 67/242: gnu: Add python-ubelt., guix-commits, 2022/05/12
- 66/242: gnu: Add python-xdoctest., guix-commits, 2022/05/12
- 71/242: gnu: python-pytest-cov: Update to 3.0.0., guix-commits, 2022/05/12
- 104/242: gnu: python-jupyter-client: Update to 7.2.2., guix-commits, 2022/05/12
- 97/242: gnu: Add python-debugpy., guix-commits, 2022/05/12
- 102/242: gnu: python-nest-asyncio: Update to 1.5.5., guix-commits, 2022/05/12
- 88/242: gnu: Add texlive-bidi., guix-commits, 2022/05/12
- 108/242: gnu: python-anyio: Replace python-pytest-trio with python-trio.,
guix-commits <=
- 96/242: gnu: Add python-pydevd., guix-commits, 2022/05/12
- 110/242: gnu: python-bleach: Update to 5.0.0., guix-commits, 2022/05/12
- 95/242: gnu: python-trio: Update to 0.20.0., guix-commits, 2022/05/12
- 112/242: gnu: Add texlive-lm-math., guix-commits, 2022/05/12
- 86/242: gnu: Add font-amiri., guix-commits, 2022/05/12
- 113/242: gnu: python-nbconvert: Update to 6.5.0., guix-commits, 2022/05/12
- 115/242: gnu: python-nbval: Fix build., guix-commits, 2022/05/12
- 121/242: gnu: Add python-pep621., guix-commits, 2022/05/12
- 138/242: gnu: Add python-cbor2., guix-commits, 2022/05/12
- 154/242: gnu: python-hypothesis-6.23: Update to 6.43.3., guix-commits, 2022/05/12