gnu: python-nbformat: Update to 5.3.0.

* gnu/packages/python-xyz.scm (python-nbformat): Update to 5.3.0.
[source]: Adjust git URL.
[native-inputs]: Move python-fastjsonschema to...
[propagated-inputs]: ... here.  Remove python-ipython-genutils.
This commit is contained in:
Maxim Cournoyer 2022-04-13 01:01:33 -04:00
parent 1c8264d62e
commit 7cab14c336
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -12816,16 +12816,16 @@ (define-public python-fastjsonschema
(define-public python-nbformat
(package
(name "python-nbformat")
(version "5.1.3")
(version "5.3.0")
;; 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.git")
(url "https://github.com/jupyter/nbformat")
(commit version)))
(sha256
(base32
"033v16cfmxzh3jn5phnil4p3silr49iwh9wiigzhv0crc6sanvwz"))
"114c5c6cvpxhxj8zrw74351gcfzyzjh1jq3py4xf8wk9rahfay9z"))
(file-name (git-file-name name version))))
(build-system python-build-system)
(arguments
@ -12836,13 +12836,10 @@ (define-public python-nbformat
(when tests?
(invoke "pytest" "-vv")))))))
(propagated-inputs
(list python-ipython-genutils python-jsonschema python-jupyter-core
(list python-fastjsonschema python-jsonschema python-jupyter-core
python-traitlets))
(native-inputs
(list python-pytest
python-fastjsonschema ; This is only active
; when setting NBFORMAT_VALIDATOR="fastjsonschema", so include it for
; testing only.
python-testpath))
(home-page "https://jupyter.org")
(synopsis "Jupyter Notebook format")