guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 6a0bd9be26080a4a6a26586a535df31ccdc1b74a
Author: Nicolas Graves <[email protected]>
AuthorDate: Wed Jul 23 23:13:18 2025 +0200

    gnu: Add python-cliff-bootstrap.
    
    * gnu/packages/openstack.scm (python-cliff-bootstrap): New variable.
    * gnu/packages/check.scm (python-stestr)[propagated-inputs]: Replace
    python-cliff by python-cliff-boostrap.
    
    Change-Id: I9cc7271bb090127e28a56a8964a9b4cf42fbc800
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/openstack.scm    | 16 ++++++++++++++++
 gnu/packages/python-check.scm |  2 +-
 2 files changed, 17 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index 950e5d034a..585cf9c883 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -87,6 +87,22 @@ sub-command to do the work.  It uses plugins to define 
sub-commands, output
 formatters, and other extensions.")
     (license asl2.0)))
 
+(define-public python-cliff-bootstrap
+  (hidden-package
+   (package/inherit python-cliff
+     (arguments
+      (substitute-keyword-arguments (package-arguments python-cliff)
+        ((#:tests? t? #t)
+         #f)
+        ((#:phases phases #~%standard-phases)
+         #~(modify-phases #$phases
+             (delete 'sanity-check)))))
+     (native-inputs
+      (list python-setuptools python-wheel))
+     (propagated-inputs
+      (modify-inputs (package-propagated-inputs python-cliff)
+        (replace "python-stevedore" python-stevedore-bootstrap))))))
+
 (define-public python-debtcollector
   (package
     (name "python-debtcollector")
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 59ca2174a5..66320312f7 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -3718,7 +3718,7 @@ possibly work.")
            python-flit-core-next ;requires >=3.12
            python-setuptools))
     (propagated-inputs
-     (list python-cliff
+     (list python-cliff-bootstrap
            python-fixtures
            python-pyyaml
            python-subunit

Reply via email to