guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit bd4edc96ebbc8cb7528b7c4399aaeeb954fae0ad
Author: Nicolas Graves <[email protected]>
AuthorDate: Sun Feb 8 12:56:22 2026 +0100
gnu: python-propcache: Improve python-pytest-cov removal.
* gnu/packages/python-xyz.scm (python-propcache):
[arguments] <#:phases>: Drop phase 'avoid-pytest-cov-preload.
<#:test-flags>: Adapt accordingly.
Change-Id: I55eadb85860b06bf0567d59d4474c6235741983d
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/python-xyz.scm | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index dd2603504b..9a0dd216b9 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -12059,13 +12059,11 @@ colorspaces like sRGB, XYZ, CIEL*a*b*, CIECAM02,
CAM02-UCS, etc.")
(build-system pyproject-build-system)
(arguments
(list
- #:test-flags '(list "--ignore=tests/test_benchmarks.py")
+ #:test-flags
+ #~(list "-o" "addopts=''" ; Avoid -p pytest_cov.
+ "--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