guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit 045df310b2d6a39cd9dc7fa6ba8830a45ac2fabd
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 e5d860b872..97d6c8a765 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -37021,6 +37021,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
@@ -37052,13 +37060,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