guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit 7555693292c1c9468921b7cd5418bbc666ab0be4
Author: Nicolas Graves <[email protected]>
AuthorDate: Sat Nov 1 20:48:34 2025 +0100
gnu: python-flit: Relax python-pip requirement.
The new sanity-check makes this package fail.
* gnu/packages/python-xyz.scm (python-flit)[arguments]<#:phases>: Add
phase 'relax-pip-requirement.
Change-Id: Ib3023182667469c9683f0c63ccbd165276af3202
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/python-xyz.scm | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index babf5fc65a..e5d860b872 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -29019,6 +29019,13 @@ and not test_install_requires_extra \
and not test_validate_classifiers_private")
#:phases
#~(modify-phases %standard-phases
+ (add-after 'unpack 'relax-pip-requirement
+ ;; python -m pip is available by default, no need to
+ ;; propagate pip.
+ (lambda _
+ (substitute* "pyproject.toml"
+ (("\"pip\",")
+ ""))))
(add-before 'check 'pre-check
(lambda* (#:key tests? inputs outputs #:allow-other-keys)
(when tests?