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

commit 37be6c17c064be96f38c3ea9b198185a485eb685
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 366b4abbbe..8236929f93 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -29005,6 +29005,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?

Reply via email to