1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

gnu: python-propcache: Remove python-pytest-cov requirement.

* gnu/packages/python-web.scm (python-propcache)[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:
Nicolas Graves
2025-10-28 21:21:36 +01:00
committed by Sharlatan Hellseher
parent 0d9a0c120b
commit 10be8f8a15

View File

@@ -12292,6 +12292,10 @@ colorspaces like sRGB, XYZ, CIEL*a*b*, CIECAM02, CAM02-UCS, etc.")
#:test-flags '(list "--ignore=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
@@ -12299,15 +12303,12 @@ colorspaces like sRGB, XYZ, CIEL*a*b*, CIECAM02, CAM02-UCS, etc.")
(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))
(home-page "https://github.com/aio-libs/propcache")
(synopsis "Accelerated property cache")
(description "The module provides a fast implementation of cached