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

commit 658a448a046841e0a49f4c6405dce47ec96a5f19
Author: Nicolas Graves <[email protected]>
AuthorDate: Sun Feb 8 12:57:29 2026 +0100

    gnu: python-multidict: Improve python-pytest-cov removal.
    
    * gnu/packages/python-xyz.scm (python-multidict):
    [arguments] <#:phases>: Drop phase 'fix-pytest-config.
    <#:test-flags>: Adapt accordingly.
    
    Change-Id: Iff6ce80523e20dcec92eba70f7ede010d7199054
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/python-xyz.scm | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 14213b9ee0..cfc7be82d9 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -12652,14 +12652,8 @@ e.g. copy examples, fetch data, etc.")
      (list
       ;; tests: 1395 passed
       #:test-flags
-      #~(list "--ignore-glob=tests/test_*_benchmarks.py")
-      #:phases
-      #~(modify-phases %standard-phases
-          (add-after 'unpack 'fix-pytest-config
-            (lambda _
-              (substitute* "pytest.ini"
-                (("-p pytest_cov") "")
-                (("--cov.*") "")))))))
+      #~(list  "-o" "addopts=''"        ; Avoid -p pytest_cov.
+              "--ignore-glob=tests/test_*_benchmarks.py")))
     (native-inputs
      (list python-objgraph
            python-psutil

Reply via email to