guix_mirror_bot pushed a commit to branch python-team
in repository guix.

commit 54e1716e44ff34af6a130da357d498881fe3a152
Author: Nicolas Graves <[email protected]>
AuthorDate: Tue Oct 28 21:21:36 2025 +0100

    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 <[email protected]>
---
 gnu/packages/python-xyz.scm | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 182c30cb67..d355418229 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -12025,6 +12025,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
@@ -12032,15 +12036,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

Reply via email to