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

commit aeb2789e567752d83709a96f4532b8d77e169dc2
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Fri Jul 3 11:25:15 2026 +0100

    gnu: ciel: Relax requirements on Rich.
    
    * gnu/packages/electronics.scm (ciel):
    [phases]{relax-requirements}: New phase, reduce upper version bar for Rich.
    [inputs]: Remove python-click.
    [propagated-inputs]: Add python-click.
---
 gnu/packages/electronics.scm | 17 +++++++++++++----
 1 file changed, 13 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/electronics.scm b/gnu/packages/electronics.scm
index 7d44b6c5d6..55aa3b4920 100644
--- a/gnu/packages/electronics.scm
+++ b/gnu/packages/electronics.scm
@@ -465,9 +465,16 @@ standard-cells.  It is compatible with @code{ngspice} and 
@code{Xyce}.")
         (base32 "1aqc68v57sx9grl311f5j6sg72a0rajbjrz40b9zchymvy51pyxc"))))
     (arguments
      (list
-      #:tests? #f ;no tests
+      ;; No unit tests, there are some integration tests, see:
+      ;; <.github/workflows/ci.yml>.
+      #:tests? #f
       #:phases
       #~(modify-phases %standard-phases
+          (add-after 'unpack 'relax-requirements
+            (lambda _
+              (substitute* "pyproject.toml"
+                ;; rich = ">=12,<15"
+                ((">=12,<15") ">=12"))))
           (add-after 'wrap 'wrap-ciel
             (lambda* (#:key inputs #:allow-other-keys)
               (wrap-program (string-append #$output "/bin/ciel")
@@ -475,11 +482,13 @@ standard-cells.  It is compatible with @code{ngspice} and 
@code{Xyce}.")
                   (,(string-append
                      (assoc-ref inputs "git-minimal") "/bin")))))))))
     (build-system pyproject-build-system)
-    (native-inputs (list python-poetry-core))
+    (native-inputs
+     (list python-poetry-core))
     (inputs
      (list bash-minimal
-           git-minimal/pinned
-           python-click
+           git-minimal/pinned))
+    (propagated-inputs
+     (list python-click
            python-httpx
            python-pcpp
            python-rich

Reply via email to