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

commit da4f9800171e8f4b0e965336d0bd58cc206855c7
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 60ad5ed9fd..b00d612a24 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -29046,6 +29046,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