[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
23/57: gnu: python-rich: Update to 13.7.0.
From: |
guix-commits |
Subject: |
23/57: gnu: python-rich: Update to 13.7.0. |
Date: |
Mon, 6 May 2024 04:08:15 -0400 (EDT) |
rekado pushed a commit to branch python-team
in repository guix.
commit b8e3e0e4d42cdaf9b48aecb0e0660493fa4f8b1b
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 56d61c2a33..7ea16a3acb 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -20054,42 +20054,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
- 05/57: build-system/pyproject: Use python-sans-pip-wrapper as default-python., (continued)
- 05/57: build-system/pyproject: Use python-sans-pip-wrapper as default-python., guix-commits, 2024/05/06
- 01/57: gnu: python-pygments: Update to 2.15.1., guix-commits, 2024/05/06
- 03/57: gnu: python-sphinx-alabaster-theme: Update to 0.7.13., guix-commits, 2024/05/06
- 06/57: build-system/python: Ignore symlinks when changing mtime., guix-commits, 2024/05/06
- 12/57: guix: pyproject-build-system: Default configure-flags to empty dictionary., guix-commits, 2024/05/06
- 07/57: gnu: criu: Remove temporary workaround., guix-commits, 2024/05/06
- 13/57: doc: Document new options for pyproject-build-system., guix-commits, 2024/05/06
- 18/57: gnu: python-typing-extensions: Update to 4.10.0., guix-commits, 2024/05/06
- 20/57: gnu: meson-python: Do not delete LICENSES directory., guix-commits, 2024/05/06
- 27/57: gnu: python-lightning-cloud: Disable tests., guix-commits, 2024/05/06
- 23/57: gnu: python-rich: Update to 13.7.0.,
guix-commits <=
- 21/57: gnu: python-markdown-it-py: Update to 3.0.0., guix-commits, 2024/05/06
- 04/57: gnu: python-sphinx: Update to 5.3.0., guix-commits, 2024/05/06
- 11/57: gnu: python-pytest-xdist: Disable failing test., guix-commits, 2024/05/06
- 19/57: gnu: Add setuptools/wheel to more Python packages., guix-commits, 2024/05/06
- 43/57: gnu: python-pytest-arraydiff: Add missing inputs., guix-commits, 2024/05/06
- 08/57: gnu: sssd: Import ensure-no-mtimes-pre-1980., guix-commits, 2024/05/06
- 16/57: gnu: Add missing import (again)., guix-commits, 2024/05/06
- 30/57: gnu: python-traitlets: Update to 5.14.1., guix-commits, 2024/05/06
- 40/57: gnu: java-testng: Disable one test., guix-commits, 2024/05/06
- 09/57: guix: toml: Add TOML parser., guix-commits, 2024/05/06