GNU bug report logs - #70858
[PATCH 00/32] python-team: Remove native inputs

Previous Next

Package: guix-patches;

Reported by: Nicolas Graves <ngraves <at> ngraves.fr>

Date: Fri, 10 May 2024 07:50:01 UTC

Severity: normal

Tags: patch

Full log


View this message in rfc822 format

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 70858 <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: [bug#70858] [PATCH v5 33/48] gnu: multidict: Remove python-pytest-cov native-input.
Date: Thu, 27 Feb 2025 15:27:34 +0100
* gnu/packages/python-xyz.scm (multidict)
[native-inputs]: Remove python-pytest-cov.
[arguments]{phases}: Add 'avoid-pytest-cov-preload phase.
---
 gnu/packages/python-xyz.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 18b5470573..395d091fd5 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10988,9 +10988,15 @@ (define-public python-multidict
         (base32
          "0jlgjpclkh5g6vr1danl6alz0cza2jlzdqh3q03d4s8ckfzjxbi2"))))
     (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") "")))))))
     (propagated-inputs (list python-typing-extensions))
     (native-inputs
-     (list python-pytest python-pytest-cov python-setuptools python-wheel))
+     (list python-pytest python-setuptools python-wheel))
     (home-page "https://github.com/aio-libs/multidict/")
     (synopsis "Multidict implementation")
     (description "Multidict is dict-like collection of key-value pairs
-- 
2.48.1





This bug report was last modified 67 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.