[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
23/420: gnu: python-rich: Update to 13.7.0.
From: |
guix-commits |
Subject: |
23/420: gnu: python-rich: Update to 13.7.0. |
Date: |
Tue, 26 Nov 2024 16:28:23 -0500 (EST) |
sharlatan pushed a commit to branch python-team
in repository guix.
commit 6bd9d2a73e9ced0d9c8db4d248fd1665ffd1bc91
Author: Felix Gruber <felgru@posteo.net>
AuthorDate: Tue Feb 13 14:15:41 2024 +0000
gnu: python-rich: Update to 13.7.0.
* gnu/packages/python-xyz.scm (python-rich): Update to 13.7.0.
[source]: Use git-fetch since pypi package doesn't include tests.
[build-system]: Use pyproject-build-system.
[arguments]: Remove custom 'check phase.
[propagated-inputs]: Remove python-attrs, python-colorama,
python-commonmark and python-typingextensions; add
python-ipywidgets and python-markdown-it-py.
[native-inputs]: Add python-poetry-core; remove tests (which are now
included in new [source]).
Change-Id: I15f7928fc376d8c2556ca2965fe44453bd15f248
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
---
gnu/packages/python-xyz.scm | 49 ++++++++++++++-------------------------------
1 file changed, 15 insertions(+), 34 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index dd288c3fcc..a790f567a2 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -20576,42 +20576,23 @@ representation.")
(define-public python-rich
(package
(name "python-rich")
- (version "12.4.1")
- (source (origin
- (method url-fetch)
- (uri (pypi-uri "rich" version))
- (sha256
- (base32
- "149vjb4cpf9mz14iig0b6d8065dm8aslp6pc45g9ipmp1wf00ffj"))))
- (build-system python-build-system)
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key inputs tests? #:allow-other-keys)
- (when tests?
- (copy-recursively (string-append
- (assoc-ref inputs "tests") "/tests")
- "tests")
- (invoke "python" "-m" "pytest" "-vv")))))))
+ (version "13.7.0")
+ (source
+ (origin
+ ;; There are no tests in the PyPI tarball.
+ (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
+ "0qyhw2vvk17qdmfrmi45z4dd0fkwx3l2qrf3iy0yc2y7pfgrmg9g"))))
+ (build-system pyproject-build-system)
(propagated-inputs
- (list python-attrs python-colorama python-commonmark python-pygments
- python-typing-extensions))
+ (list python-ipywidgets python-markdown-it-py python-pygments))
(native-inputs
- `(("python-pytest" ,python-pytest)
- ("tests"
- ;; The release on pypi comes without tests. We can't build from this
- ;; checkout, though, because installation requires an invocation of
- ;; poetry.
- ,(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
- "17c3gljn8zv32xnpsgd3fqgqn4r7cdfqri41hridcpbhssdgkyp9"))))))
+ (list python-poetry-core python-pytest))
(home-page "https://github.com/willmcgugan/rich")
(synopsis "Render rich text and more to the terminal")
(description
- 17/420: gnu: python-sphinx: Update to 6.2.1., (continued)
- 17/420: gnu: python-sphinx: Update to 6.2.1., guix-commits, 2024/11/26
- 25/420: gnu: python-textual: Update to 0.50.1., guix-commits, 2024/11/26
- 30/420: gnu: python-traitlets: Update to 5.14.1., guix-commits, 2024/11/26
- 13/420: doc: Document new options for pyproject-build-system., guix-commits, 2024/11/26
- 32/420: gnu: python-ipython: Update to 8.22.1., guix-commits, 2024/11/26
- 04/420: gnu: python-sphinx: Update to 5.3.0., guix-commits, 2024/11/26
- 21/420: gnu: python-markdown-it-py: Update to 3.0.0., guix-commits, 2024/11/26
- 24/420: gnu: python-jupytext: Update to 1.15.0., guix-commits, 2024/11/26
- 22/420: gnu: python-mdit-py-plugins: Update to 0.4.0., guix-commits, 2024/11/26
- 26/420: gnu: python-myst-parser: Relax some requirements., guix-commits, 2024/11/26
- 23/420: gnu: python-rich: Update to 13.7.0.,
guix-commits <=
- 28/420: gnu: Add python-pytest-mypy-testing., guix-commits, 2024/11/26
- 31/420: gnu: python-prompt-toolkit: Update to 3.0.43., guix-commits, 2024/11/26
- 33/420: gnu: Add python-rapidfuzz., guix-commits, 2024/11/26
- 37/420: gnu: python-eventlet: Update to 0.35.2., guix-commits, 2024/11/26
- 42/420: gnu: python-pynacl: Add missing inputs., guix-commits, 2024/11/26
- 50/420: gnu: python-billiard: Add missing inputs., guix-commits, 2024/11/26
- 62/420: gnu: python-nbconvert: Add missing texlive inputs., guix-commits, 2024/11/26
- 61/420: gnu: python-nbclient: Add Setuptools and Wheel., guix-commits, 2024/11/26
- 48/420: gnu: python-joblib: Add missing inputs., guix-commits, 2024/11/26
- 71/420: gnu: Add python-overrides., guix-commits, 2024/11/26