[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
95/361: gnu: python-notebook: Update to 6.5.7.
From: |
guix-commits |
Subject: |
95/361: gnu: python-notebook: Update to 6.5.7. |
Date: |
Thu, 21 Nov 2024 06:28:57 -0500 (EST) |
sharlatan pushed a commit to branch python-team
in repository guix.
commit 587083a7c38c436ad93b67388ad9b08767f6f249
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 03e7e610a8..d7a1a59ec5 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -18099,17 +18099,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:
@@ -18122,20 +18129,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
@@ -18144,6 +18144,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
@@ -18158,7 +18159,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
- 219/361: gnu: python-notebook: Add python-jupyter-server to native inputs., (continued)
- 219/361: gnu: python-notebook: Add python-jupyter-server to native inputs., guix-commits, 2024/11/21
- 223/361: gnu: Remove python-mistune-next., guix-commits, 2024/11/21
- 220/361: gnu: build-system/pyproject: Add missing native-inputs., guix-commits, 2024/11/21
- 231/361: gnu: python-daft: Adjust inputs., guix-commits, 2024/11/21
- 237/361: gnu: python-optree: Adjust inputs., guix-commits, 2024/11/21
- 84/361: gnu: python-jupyter-kernel-mgmt: Use Tornado 6., guix-commits, 2024/11/21
- 79/361: gnu: python-argon2-cffi: Update to 21.1.0., guix-commits, 2024/11/21
- 77/361: gnu: python-jedi: Update to 0.19.1., guix-commits, 2024/11/21
- 72/361: gnu: Add python-hatch-jupyter-builder., guix-commits, 2024/11/21
- 76/361: gnu: python-attrs: Update to 23.2.0., guix-commits, 2024/11/21
- 95/361: gnu: python-notebook: Update to 6.5.7.,
guix-commits <=
- 100/361: gnu: python-tabulate: Add Setuptools and Wheel., guix-commits, 2024/11/21
- 103/361: gnu: python-lazy-object-proxy: Update to 1.10.0., guix-commits, 2024/11/21
- 107/361: gnu: Add python-jsonschema-path., guix-commits, 2024/11/21
- 130/361: gnu: python-nbconvert: Update to 7.16.4., guix-commits, 2024/11/21
- 114/361: gnu: python-sphinx-pytest: Update to 0.2.0., guix-commits, 2024/11/21
- 122/361: gnu: python-lsp-jsonrpc: Update to 1.1.2., guix-commits, 2024/11/21
- 129/361: gnu: python-mistune: Update to 3.0.2., guix-commits, 2024/11/21
- 115/361: gnu: python-myst-parser: Update to 3.0.1., guix-commits, 2024/11/21
- 120/361: gnu: python-platformdirs: Update to 4.2.1., guix-commits, 2024/11/21
- 150/361: gnu: python-xcffib: Move to (gnu packages xorg)., guix-commits, 2024/11/21