From 25bdfe95b7e0a682c47bb7c1905643da8a9e3064 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sun, 15 Mar 2026 17:13:08 +0000 Subject: [PATCH] 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 994a9900ac..e40eb2962b 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -21092,7 +21092,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) @@ -21101,15 +21101,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