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

commit 43a8577b659a6eedcf8f51dfe0abcf3bb0bd4fc6
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sun Mar 15 17:13:08 2026 +0000

    gnu: python-rich-click: Update to 1.9.7.
    
    * gnu/packages/python-xyz.scm (python-rich-click): Update to 1.9.7.
    [phases]{fix-pytest-config}: New phase.
    [propagated-inputs]: Remove python-typing-extensions.
    [native-inputs]: Add python-inline-snapshot and python-typer.
    
    Change-Id: I8f22ce7e79d6aae367474c1b609ed43d9ab38167
---
 gnu/packages/python-xyz.scm | 21 +++++++++++++++------
 1 file changed, 15 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 436bb83672..cc1032e820 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -20863,7 +20863,7 @@ syntax highlighting, markdown and more to the 
terminal.")
 (define-public python-rich-click
   (package
     (name "python-rich-click")
-    (version "1.8.9")
+    (version "1.9.7")
      (source
       (origin
         (method git-fetch)
@@ -20872,15 +20872,24 @@ syntax highlighting, markdown and more to the 
terminal.")
                (commit (string-append "v" version))))
         (file-name (git-file-name name version))
         (sha256
-         (base32 "0kc2wcb5dpgxhdcz8fy6gfhl7vra03xwgwfg7h0qxxibr8yzhmmq"))))
+         (base32 "1bw3lsj49dln8q7407gv85y8lzdn9a3jcjl9acax6q6x9l73cgqx"))))
     (build-system pyproject-build-system)
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'fix-pytest-config
+            (lambda _
+              (substitute* "pyproject.toml"
+                ((" --cov --cov-report term") "")))))))
     (native-inputs
-     (list python-pytest
-           python-setuptools))
+     (list python-inline-snapshot
+           python-pytest
+           python-setuptools
+           python-typer))
     (propagated-inputs
      (list python-click
-           python-rich
-           python-typing-extensions))
+           python-rich))
     (home-page "https://github.com/ewels/rich-click";)
     (synopsis "Format click help output nicely with rich")
     (description "Click is a \"Python package for creating beautiful command

Reply via email to