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

commit 278c9955ece10084309a143750bcdc74e802cb38
Author: Nicolas Graves <[email protected]>
AuthorDate: Tue Oct 28 20:29:25 2025 +0100

    gnu: python-aiosignal: Remove python-pytest-cov requirement.
    
    * gnu/packages/python-web.scm (python-aiosignal)
    [arguments]<#:phases>: Add phase 'avoid-pytest-cov-preload.
    [native-inputs]: Remove python-pytest-cov, python-wheel.
    
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/python-web.scm | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 4a8a9e0677..134e2f1a29 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2124,12 +2124,18 @@ for AsyncIO and mixed-type iterables.")
        (sha256
         (base32 "1isin9bp256scp59lbr35h48nw5p5i84b6f9kh1c50w08vcyqzpl"))))
     (build-system pyproject-build-system)
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'avoid-pytest-cov-preload
+            (lambda _
+              (substitute* "pytest.ini"
+                (("-p pytest_cov") "")))))))
     (native-inputs
      (list python-pytest
            python-pytest-asyncio
-           python-pytest-cov
-           python-setuptools
-           python-wheel))
+           python-setuptools))
     (propagated-inputs
      (list python-frozenlist))
     (home-page "https://github.com/aio-libs/aiosignal";)

Reply via email to