gnu: python-notebook: Update to 6.4.10.

* gnu/packages/python-xyz.scm (python-notebook): Update to 6.4.10.
[phases]{check}: Remove add-installed-pythonpath.
[native-inputs]: python-nest-asyncio.
This commit is contained in:
Maxim Cournoyer 2022-04-13 21:53:25 -04:00
parent 1e76c82ca6
commit 73728b3942
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -13722,13 +13722,13 @@ (define-public python-nbconvert
(define-public python-notebook (define-public python-notebook
(package (package
(name "python-notebook") (name "python-notebook")
(version "6.3.0") (version "6.4.10")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "notebook" version)) (uri (pypi-uri "notebook" version))
(sha256 (sha256
(base32 (base32
"0zfwr87ndjzmdp9adpc9lby1hdqdkjp2q7c9vff3wiw1dj6kkjfb")))) "03p976xq1l9xf4djwk0snmywd0zck3i6gjngxsl874i8qrmsf214"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
`(#:phases `(#:phases
@ -13747,10 +13747,9 @@ (define-public python-notebook
(setenv "HOME" (getcwd)))) (setenv "HOME" (getcwd))))
(replace 'check (replace 'check
(lambda* (#:key tests? inputs outputs #:allow-other-keys) (lambda* (#:key tests? inputs outputs #:allow-other-keys)
;; These tests require a browser ;; These tests require a browser.
(delete-file-recursively "notebook/tests/selenium") (delete-file-recursively "notebook/tests/selenium")
(when tests? (when tests?
(add-installed-pythonpath inputs outputs)
;; Interferes with test expectations. ;; Interferes with test expectations.
(unsetenv "JUPYTER_CONFIG_PATH") (unsetenv "JUPYTER_CONFIG_PATH")
;; Some tests do not expect all files to be installed in the ;; Some tests do not expect all files to be installed in the
@ -13767,6 +13766,7 @@ (define-public python-notebook
python-jinja2 python-jinja2
python-jupyter-client python-jupyter-client
python-jupyter-core python-jupyter-core
python-nest-asyncio
python-nbconvert python-nbconvert
python-nbformat python-nbformat
python-prometheus-client python-prometheus-client