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

commit 01ea05cfd3392959a8af3f4b25178a518ad57d43
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sun Jan 18 14:40:46 2026 +0000

    gnu: python-rich: Update to 14.2.0.
    
    * gnu/packages/python-xyz.scm (python-rich): Update to 14.2.0.
    [arguments]: Drop all.
    [native-inputs]: Add which.
    
    Change-Id: I04ef0b87763c9d468648c5b05cff87ffb951f582
---
 gnu/packages/python-xyz.scm | 42 ++++++++++++++----------------------------
 1 file changed, 14 insertions(+), 28 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index ccfa671eec..8c69dd8081 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -20795,39 +20795,25 @@ into 22 character URL-safe base64 slug 
representation.")
 (define-public python-rich
   (package
     (name "python-rich")
-    (version "13.7.1")
+    (version "14.2.0")
     (source
-      (origin
-        ;; There are no tests in the PyPI tarball.
-        (method git-fetch)
-        (uri (git-reference
+     (origin
+       (method git-fetch)
+       (uri (git-reference
               (url "https://github.com/willmcgugan/rich";)
               (commit (string-append "v" version))))
-        (file-name (git-file-name name version))
-        (sha256
-         (base32
-          "0jvkcp473c0icbb8md3grc3285j2cy0z0swxgk2g67d9n0zfdfzc"))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0zwjry4ylqncqvxrywp0km96jng4f288dgz8kz5vymk7nr2z21m1"))))
     (build-system pyproject-build-system)
-    (arguments
-     (list
-      #:test-flags
-      ;; These fail for unknown reasons, but the results look identical.
-      ;; Perhaps only the terminal escape sequences are superficially
-      ;; different?
-      '(list "-k" (string-append "not test_card_render"
-                                 " and not test_markdown_render"
-                                 " and not test_python_render"
-                                 " and not test_python_render_simple"
-                                 " and not 
test_python_render_simple_passing_lexer_instance"
-                                 " and not test_python_render_indent_guides"
-                                 " and not test_option_no_wrap"
-                                 " and not test_syntax_highlight_ranges"
-                                 " and not test_inline_code"
-                                 " and not test_blank_lines"))))
-    (propagated-inputs
-     (list python-markdown-it-py python-pygments))
+    ;; tests: 856 passed, 24 skipped
     (native-inputs
-     (list python-poetry-core python-pytest))
+     (list python-poetry-core
+           python-pytest
+           which))
+    (propagated-inputs
+     (list python-markdown-it-py
+           python-pygments))
     (home-page "https://github.com/willmcgugan/rich";)
     (synopsis "Render rich text and more to the terminal")
     (description

Reply via email to