[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
89/361: gnu: python-nbformat: Update to 5.10.4.
From: |
guix-commits |
Subject: |
89/361: gnu: python-nbformat: Update to 5.10.4. |
Date: |
Thu, 21 Nov 2024 06:28:55 -0500 (EST) |
sharlatan pushed a commit to branch python-team
in repository guix.
commit 8e46aedcb64f1dee581cc725089160e6ec8a7a9b
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 600cb1b3b5..0a4bd73be7 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -17748,30 +17748,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")
- 331/361: gnu: python-attrs: Update to 24.2.0., (continued)
- 331/361: gnu: python-attrs: Update to 24.2.0., guix-commits, 2024/11/21
- 347/361: gnu: python-blinker: Update to 1.9.0., guix-commits, 2024/11/21
- 342/361: gnu: python-matplotlib: Disable more failing tests., guix-commits, 2024/11/21
- 346/361: gnu: python-cloudpickle: Update to 3.1.0., guix-commits, 2024/11/21
- 350/361: gnu: python-graphviz: Update to 0.20.3., guix-commits, 2024/11/21
- 352/361: gnu: python-apispec: Update to 6.7.1., guix-commits, 2024/11/21
- 353/361: gnu: python-flask-restful: Update to 0.3.10., guix-commits, 2024/11/21
- 355/361: gnu: Remove python-flask-jwt., guix-commits, 2024/11/21
- 357/361: gnu: python-httpbin: Update to 0.10.2., guix-commits, 2024/11/21
- 360/361: gnu: python-dirty-equals: Update to 0.8.0., guix-commits, 2024/11/21
- 89/361: gnu: python-nbformat: Update to 5.10.4.,
guix-commits <=
- 54/361: gnu: python-versioneer: Add missing input and use minimal git., guix-commits, 2024/11/21
- 68/361: gnu: Add python-isoduration., guix-commits, 2024/11/21
- 224/361: gnu: python-kiwisolver: Update to 1.4.6., guix-commits, 2024/11/21
- 234/361: gnu: python-jsonpickle: Adjust inputs., guix-commits, 2024/11/21
- 330/361: gnu: meson-python: Update to 0.17.1., guix-commits, 2024/11/21
- 356/361: gnu: python-apispec-webframeworks: Update to 1.2.0., guix-commits, 2024/11/21
- 358/361: gnu: python-pytest-httpbin: Update to 2.1.0., guix-commits, 2024/11/21
- 359/361: gnu: python-pytest-mpl: Update to 0.17.0., guix-commits, 2024/11/21
- 99/361: gnu: python-jupyter-server-mathjax: Update to 0.2.6., guix-commits, 2024/11/21
- 243/361: gnu: python-twine: Adjust inputs., guix-commits, 2024/11/21