[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
90/224: gnu: python-nbformat: Update to 5.10.4.
From: |
guix-commits |
Subject: |
90/224: gnu: python-nbformat: Update to 5.10.4. |
Date: |
Tue, 15 Oct 2024 16:32:30 -0400 (EDT) |
sharlatan pushed a commit to branch python-team
in repository guix.
commit 76f54d5aee167a579ad551ecd7454d4c0d017387
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Mon May 6 22:54:33 2024 +0200
gnu: python-nbformat: Update to 5.10.4.
* gnu/packages/python-xyz.scm (python-nbformat): Update to 5.10.4.
[build-system]: Use pyproject-build-system.
[arguments]: Remove custom 'check phase; add 'patch-pyproject phase.
[native-inputs]: Add python-hatchling and python-pep440.
Change-Id: I259413d51ff7cbca3052f2657eb89f806b3ea559
---
gnu/packages/python-xyz.scm | 28 +++++++++++++++++-----------
1 file changed, 17 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 1953181401..ce14696dd9 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -17588,30 +17588,36 @@ drafts 04, 06 and 07.")
(define-public python-nbformat
(package
(name "python-nbformat")
- (version "5.3.0")
+ (version "5.10.4")
;; The PyPi release tarball lacks some test cases and test data.
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/jupyter/nbformat")
- (commit version)))
+ (commit (string-append "v" version))))
(sha256
(base32
- "114c5c6cvpxhxj8zrw74351gcfzyzjh1jq3py4xf8wk9rahfay9z"))
+ "0abd1d8iq21dwh17m72na2f3kr6a5p6ji1gnykf06jshikalj2x3"))
(file-name (git-file-name name version))))
- (build-system python-build-system)
+ (build-system pyproject-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key inputs outputs tests? #:allow-other-keys)
- (when tests?
- (invoke "pytest" "-vv")))))))
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ ;; We don't want to use hatch-nodejs just to get a version string.
+ (add-after 'unpack 'patch-pyproject
+ (lambda _
+ (substitute* "pyproject.toml"
+ ((", \"hatch-nodejs-version\"") "")
+ (("dynamic = \\[\"version\"\\]")
+ (string-append "version = \"" #$version "\""))))))))
(propagated-inputs
(list python-fastjsonschema python-jsonschema python-jupyter-core
python-traitlets))
(native-inputs
- (list python-pytest
+ (list python-hatchling
+ python-pep440
+ python-pytest
python-testpath))
(home-page "https://jupyter.org")
(synopsis "Jupyter Notebook format")
- 77/224: gnu: python-attrs: Update to 23.2.0., (continued)
- 77/224: gnu: python-attrs: Update to 23.2.0., guix-commits, 2024/10/15
- 40/224: gnu: java-testng: Disable one test., guix-commits, 2024/10/15
- 47/224: gnu: python-vine: Add missing inputs., guix-commits, 2024/10/15
- 79/224: gnu: python-send2trash: Update to 1.8.2., guix-commits, 2024/10/15
- 81/224: gnu: python-jsonschema: Update to 4.22.0., guix-commits, 2024/10/15
- 71/224: gnu: Add python-fqdn., guix-commits, 2024/10/15
- 73/224: gnu: Add python-hatch-jupyter-builder., guix-commits, 2024/10/15
- 72/224: gnu: Add python-overrides., guix-commits, 2024/10/15
- 76/224: gnu: Add python-nbclassic., guix-commits, 2024/10/15
- 66/224: gnu: Add python-referencing., guix-commits, 2024/10/15
- 90/224: gnu: python-nbformat: Update to 5.10.4.,
guix-commits <=
- 59/224: gnu: python-pytest-xdist: Add setuptools and wheel., guix-commits, 2024/10/15
- 75/224: gnu: Add python-notebook-shim., guix-commits, 2024/10/15
- 41/224: gnu: python-pycurl: Add missing inputs., guix-commits, 2024/10/15
- 25/224: gnu: python-textual: Update to 0.50.1., guix-commits, 2024/10/15
- 22/224: gnu: python-mdit-py-plugins: Update to 0.4.0., guix-commits, 2024/10/15
- 82/224: gnu: python-websocket-client: Update to 1.8.0., guix-commits, 2024/10/15
- 38/224: gnu: python-argcomplete: Add missing input., guix-commits, 2024/10/15
- 93/224: gnu: python-jupyter-client: Update to 7.4.4., guix-commits, 2024/10/15
- 97/224: gnu: Add python-jupyter-events., guix-commits, 2024/10/15
- 04/224: gnu: python-sphinx: Update to 5.3.0., guix-commits, 2024/10/15