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

commit c0cafa705690a58f4781fd9e65c881b2fcd6f58f
Author: Nicolas Graves <[email protected]>
AuthorDate: Sun Nov 2 01:22:38 2025 +0100

    gnu: python-termcolor: Relax coverage requirements.
    
    * gnu/packages/python-xyz.scm (python-termcolor)[arguments]
    <#:phases>: Add phase 'relax-coverage-requirements.
    (python-termcolor-next)[name, arguments]: Set them.
    
    Change-Id: Icd184f39b0f9da33cfa9306c33639467dbf0cf80
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/python-xyz.scm | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 8236929f93..dae5163f28 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -37007,6 +37007,14 @@ ratio)
        (sha256
         (base32 "0vwaxyr2vk8gi7s1slq74nb0ssbb0wcn208ziqp48j3dv8kqv3cr"))))
     (build-system pyproject-build-system)
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'relax-coverage-requirements
+            (lambda _
+              (substitute* "pyproject.toml"
+                ((".*coverage.*") "")))))))
     (native-inputs
      (list python-hatch-vcs
            python-hatchling
@@ -37038,13 +37046,15 @@ ratio)
 (define-public python-termcolor-next
   (package
     (inherit python-termcolor)
+    (name "python-termcolor-next")
     (version "3.1.0")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "termcolor" version))
        (sha256
-        (base32 "0w2rwl4h7664illllkmicdh3fz3z3pznqxbaxkp0j6aqxvxxfvba"))))))
+        (base32 "0w2rwl4h7664illllkmicdh3fz3z3pznqxbaxkp0j6aqxvxxfvba"))))
+    (arguments '())))
 
 (define-public python-terminaltables
   (package

Reply via email to