[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
95/474: gnu: python-notebook: Update to 6.5.7.
From: |
guix-commits |
Subject: |
95/474: gnu: python-notebook: Update to 6.5.7. |
Date: |
Sat, 30 Nov 2024 18:19:58 -0500 (EST) |
sharlatan pushed a commit to branch python-team
in repository guix.
commit c74f24919d784b33f98ef8aec75c27cfafcc42b4
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue May 7 22:21:23 2024 +0200
gnu: python-notebook: Update to 6.5.7.
* gnu/packages/python-xyz.scm (python-notebook): Update to 6.5.7.
[build-system]: Use pyproject-build-system.
[arguments]: Use #:test-flags; remove custom 'check phase; add 'pre-check
phase.
[propagated-inputs]: Add python-nbclassic.
[native-inputs]: Add python-setuptools and python-wheel.
Change-Id: I6839ac39cbdc191cd6a0ca7a25ac05ead7613ad7
---
gnu/packages/python-xyz.scm | 43 +++++++++++++++++++++++--------------------
1 file changed, 23 insertions(+), 20 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 844617dd84..6ecfa0c9c2 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -18122,17 +18122,24 @@ convert an @code{.ipynb} notebook file into various
static formats including:
(define-public python-notebook
(package
(name "python-notebook")
- (version "6.4.10")
+ (version "6.5.7")
(source (origin
(method url-fetch)
(uri (pypi-uri "notebook" version))
(sha256
(base32
- "03p976xq1l9xf4djwk0snmywd0zck3i6gjngxsl874i8qrmsf214"))))
- (build-system python-build-system)
+ "1r38fwr0r4xgkz8y27w3xyz2dk97ih5azba28jylyqxcvw8r1sq4"))))
+ (build-system pyproject-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
+ (list
+ #:test-flags
+ ;; TODO: This tests fails because nbconvert does not
+ ;; list "python" as a format.
+ '(list "-k" "not test_list_formats"
+ ;; These tests require a browser.
+ "--ignore=notebook/tests/selenium")
+ #:phases
+ '(modify-phases %standard-phases
(add-after 'unpack 'use-our-home-for-tests
(lambda _
;; The 'get_patch_env' function in this file reads:
@@ -18145,20 +18152,13 @@ convert an @code{.ipynb} notebook file into various
static formats including:
(("'HOME': .*," all)
(string-append "# " all "\n")))
(setenv "HOME" (getcwd))))
- (replace 'check
- (lambda* (#:key tests? inputs outputs #:allow-other-keys)
- ;; These tests require a browser.
- (delete-file-recursively "notebook/tests/selenium")
- (when tests?
- ;; Interferes with test expectations.
- (unsetenv "JUPYTER_CONFIG_PATH")
- ;; Some tests do not expect all files to be installed in the
- ;; same directory, but JUPYTER_PATH contains multiple entries.
- (unsetenv "JUPYTER_PATH")
- (invoke "pytest" "-vv"
- ;; TODO: This tests fails because nbconvert does not
- ;; list "python" as a format.
- "-k" "not test_list_formats")))))))
+ (add-before 'check 'pre-check
+ (lambda _
+ ;; Interferes with test expectations.
+ (unsetenv "JUPYTER_CONFIG_PATH")
+ ;; Some tests do not expect all files to be installed in the
+ ;; same directory, but JUPYTER_PATH contains multiple entries.
+ (unsetenv "JUPYTER_PATH"))))))
(propagated-inputs
(list python-argon2-cffi
python-ipykernel
@@ -18167,6 +18167,7 @@ convert an @code{.ipynb} notebook file into various
static formats including:
python-jupyter-client
python-jupyter-core
python-nest-asyncio
+ python-nbclassic
python-nbconvert
python-nbformat
python-prometheus-client
@@ -18181,7 +18182,9 @@ convert an @code{.ipynb} notebook file into various
static formats including:
python-pytest
python-pytest-cov
python-requests
- python-requests-unixsocket))
+ python-requests-unixsocket
+ python-setuptools
+ python-wheel))
(home-page "https://jupyter.org/")
(synopsis "Web-based notebook environment for interactive computing")
(description
- 82/474: gnu: python-prometheus-client: Update to 0.20.0., (continued)
- 82/474: gnu: python-prometheus-client: Update to 0.20.0., guix-commits, 2024/11/30
- 83/474: gnu: python-pytest-tornasync: Use Tornado 6., guix-commits, 2024/11/30
- 84/474: gnu: python-jupyter-kernel-mgmt: Use Tornado 6., guix-commits, 2024/11/30
- 86/474: gnu: python-jupyter-core: Update to 5.7.2., guix-commits, 2024/11/30
- 85/474: gnu: python-pyzmq: Use Tornado 6., guix-commits, 2024/11/30
- 88/474: gnu: python-ipykernel: Set environment variable., guix-commits, 2024/11/30
- 89/474: gnu: python-nbformat: Update to 5.10.4., guix-commits, 2024/11/30
- 90/474: gnu: python-nbconvert: Use pyproject-build-system., guix-commits, 2024/11/30
- 91/474: gnu: python-trio: Use pyproject-build-system., guix-commits, 2024/11/30
- 92/474: gnu: python-jupyter-client: Update to 7.4.4., guix-commits, 2024/11/30
- 95/474: gnu: python-notebook: Update to 6.5.7.,
guix-commits <=
- 101/474: gnu: python-openapi-schema-validator: Update to 0.6.2., guix-commits, 2024/11/30
- 144/474: gnu: python-aionotify: Update to 0.3.0., guix-commits, 2024/11/30
- 174/474: gnu: python-amqp: Move to pyproject-build-system., guix-commits, 2024/11/30
- 151/474: gnu: qtile: Update to 0.23.0., guix-commits, 2024/11/30
- 168/474: gnu: python-cbor2: Move to pyproject-build-system., guix-commits, 2024/11/30
- 177/474: gnu: abjad-ext-rmakers: Update to 3.19., guix-commits, 2024/11/30
- 185/474: gnu: python-jaraco-functools: Move to pyproject-build-system., guix-commits, 2024/11/30
- 193/474: gnu: python-apprise: Improve package style., guix-commits, 2024/11/30
- 198/474: gnu: python-rich: Update to 13.7.1., guix-commits, 2024/11/30
- 210/474: gnu: python-pyan3: Move to pyproject-build-system., guix-commits, 2024/11/30