mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: python-pytest-trio: Move to pyproject-build-system.
* gnu/packages/python-check.scm (python-pytest-trio): [build-system]: Move to pyproject-build-system. [arguments]: Move from <#:phases> to <#test-flags>. Change-Id: I7653110fc299d0757f7e01c2c1c29d599cb206bf Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr> Signed-off-by: jgart <jgart@dismail.de>
This commit is contained in:
parent
b91353f372
commit
14026b5220
1 changed files with 10 additions and 15 deletions
|
@ -1225,22 +1225,17 @@ (define-public python-pytest-trio
|
|||
(uri (pypi-uri "pytest-trio" version))
|
||||
(sha256
|
||||
(base32 "0c8cqf9by2884riksrqymqfp2g1d2d798a2zalcw9hmf34c786y0"))))
|
||||
(build-system python-build-system)
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? inputs outputs #:allow-other-keys)
|
||||
(when tests?
|
||||
(add-installed-pythonpath inputs outputs)
|
||||
(invoke "pytest" "-W" "error" "-ra" "-v" "--pyargs"
|
||||
(list
|
||||
#:test-flags '(list "-W" "error" "-ra" "-v" "--pyargs"
|
||||
"pytest_trio" "--verbose" "--cov" "-k"
|
||||
(string-append
|
||||
;; Needs network
|
||||
"not test_async_yield_fixture_with_nursery"
|
||||
" and not test_try"
|
||||
;; No keyboard interrupt in our build environment.
|
||||
" and not test_actual_test"))))))))
|
||||
" and not test_actual_test"))))
|
||||
(native-inputs
|
||||
(list python-hypothesis python-pytest python-pytest-cov))
|
||||
(propagated-inputs
|
||||
|
|
Loading…
Reference in a new issue