mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
gnu: python-yarl: Remove python-pytest-cov requirement.
* gnu/packages/python-web.scm (python-yarl)[arguments]<#:phases>: Add phase 'avoid-pytest-cov-preload. [native-inputs]: Remove python-covdefaults, python-pytest-cov, python-wheel. Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
committed by
Sharlatan Hellseher
parent
3a9b85ce6e
commit
0d9a0c120b
@@ -9032,6 +9032,10 @@ asynchronously.")
|
||||
#:test-flags '(list "--ignore-glob=tests/test_*_benchmarks.py")
|
||||
#:phases
|
||||
'(modify-phases %standard-phases
|
||||
(add-after 'unpack 'avoid-pytest-cov-preload
|
||||
(lambda _
|
||||
(substitute* "pytest.ini"
|
||||
(("-p pytest_cov") ""))))
|
||||
(add-after 'unpack 'patch-build-system
|
||||
(lambda _
|
||||
;; XXX: I don't know how to tell it to build the extensions in
|
||||
@@ -9039,15 +9043,12 @@ asynchronously.")
|
||||
(substitute* "packaging/pep517_backend/_backend.py"
|
||||
(("build_inplace=False") "build_inplace=True")))))))
|
||||
(native-inputs
|
||||
(list python-covdefaults
|
||||
python-cython
|
||||
(list python-cython
|
||||
python-expandvars
|
||||
python-pytest
|
||||
python-pytest-cov
|
||||
python-pytest-xdist
|
||||
python-setuptools
|
||||
python-tomli
|
||||
python-wheel))
|
||||
python-tomli))
|
||||
(propagated-inputs
|
||||
(list python-packaging python-idna python-multidict python-propcache))
|
||||
(home-page "https://github.com/aio-libs/yarl/")
|
||||
|
||||
Reference in New Issue
Block a user