mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-20 01:33:18 -05:00
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.
This commit is contained in:
parent
0f446f1bc4
commit
abb7617f20
1 changed files with 37 additions and 37 deletions
|
@ -25610,17 +25610,18 @@ (define-public python-anyio
|
|||
`(#: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"
|
||||
(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.
|
||||
;; 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"
|
||||
|
@ -25658,9 +25659,8 @@ (define-public python-anyio
|
|||
python-coverage
|
||||
python-hypothesis
|
||||
python-mock
|
||||
python-pytest-6
|
||||
python-pytest
|
||||
python-pytest-mock
|
||||
python-pytest-trio
|
||||
python-setuptools-scm
|
||||
python-trio
|
||||
python-trustme
|
||||
|
|
Loading…
Reference in a new issue