[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
103/166: gnu: python-jupyter-core: Update to 4.10.0.
From: |
guix-commits |
Subject: |
103/166: gnu: python-jupyter-core: Update to 4.10.0. |
Date: |
Tue, 19 Apr 2022 09:12:26 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython+polyglossia
in repository guix.
commit 68f29dc50f891ae0b17243a05f4f1ec912e3f91c
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Tue Apr 12 17:31:43 2022 -0400
gnu: python-jupyter-core: Update to 4.10.0.
* gnu/packages/python-xyz.scm (python-jupyter-core): Update to 4.10.0.
[phases]: Delete trailing #t.
{check}: Remove extraneous add-installed-pythonpath. Skip the
test_argv0, test_path_priority and test_not_on_path tests.
[propagated-inputs, native-inputs]: Fix indentation.
---
gnu/packages/python-xyz.scm | 27 ++++++++++++++-------------
1 file changed, 14 insertions(+), 13 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 756989c329..ef5b1570e2 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -8920,26 +8920,30 @@ without using the configuration machinery.")
(define-public python-jupyter-core
(package
(name "python-jupyter-core")
- (version "4.7.1")
+ (version "4.10.0")
(source
(origin
(method url-fetch)
(uri (string-append (pypi-uri "jupyter_core" version)))
(sha256
(base32
- "1d12j5hkff0xiax87pnhmzbsph3jqqzhz16h8xld7z2y4armq0kr"))))
+ "1v0s31rmwppdmww135hif03hy164j9kimirh24kxfcbvdfql9pm6"))))
(build-system python-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(replace 'check
- (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+ (lambda* (#:key tests? #:allow-other-keys)
(when tests?
- ; Some tests write to $HOME.
+ ;; Some tests write to $HOME.
(setenv "HOME" "/tmp")
- ; Some tests load the installed package.
- (add-installed-pythonpath inputs outputs)
- (invoke "pytest" "-vv"))))
+ (invoke "pytest" "-vv"
+ "-k"
+ (string-append
+ ;; XXX: These tests fail with "ModuleNotFoundError: No
+ ;; module named 'jupyter_core'".
+ "not test_argv0 and not test_path_priority "
+ "and not test_not_on_path")))))
(add-after 'unpack 'patch-testsuite
(lambda _
;; test_not_on_path() and test_path_priority() try to run a test
@@ -8948,8 +8952,7 @@ without using the configuration machinery.")
(("env = \\{'PATH': ''\\}")
"env = {'PATH': '', 'PYTHONPATH':
os.environ['GUIX_PYTHONPATH']}")
(("env = \\{'PATH': str\\(b\\)\\}")
- "env = {'PATH': str(b), 'PYTHONPATH':
os.environ['GUIX_PYTHONPATH']}"))
- #t))
+ "env = {'PATH': str(b), 'PYTHONPATH':
os.environ['GUIX_PYTHONPATH']}"))))
;; Migration is running whenever etc/jupyter exists, but the
;; Guix-managed directory will never contain any migratable IPython
;; config files and cannot be written to anyway, so just pretend we
@@ -8961,10 +8964,8 @@ without using the configuration machinery.")
(string-append
(assoc-ref outputs "out")
"/etc/jupyter/migrated")))))))
- (propagated-inputs
- (list python-traitlets))
- (native-inputs
- (list python-six python-pytest))
+ (propagated-inputs (list python-traitlets))
+ (native-inputs (list python-pytest))
;; This package provides the `jupyter` binary and thus also exports the
;; search paths.
(native-search-paths
- 119/166: gnu: Add python-docrepr., (continued)
- 119/166: gnu: Add python-docrepr., guix-commits, 2022/04/19
- 102/166: gnu: python-nest-asyncio: Update to 1.5.5., guix-commits, 2022/04/19
- 129/166: gnu: Add python-rfc3339-validator., guix-commits, 2022/04/19
- 132/166: gnu: Add python-cbor2., guix-commits, 2022/04/19
- 133/166: gnu: python-httpcore: Update to 0.14.7 and enable tests., guix-commits, 2022/04/19
- 140/166: gnu: python-sqlalchemy: Update to 1.4.35., guix-commits, 2022/04/19
- 162/166: gnu: python-jupyter-kernel-mgmt: Update to 0.5.1 and disable tests., guix-commits, 2022/04/19
- 98/166: gnu: python-greenlet: Update to 1.1.2., guix-commits, 2022/04/19
- 95/166: gnu: python-trio: Update to 0.20.0., guix-commits, 2022/04/19
- 112/166: gnu: Add texlive-lm-math., guix-commits, 2022/04/19
- 103/166: gnu: python-jupyter-core: Update to 4.10.0.,
guix-commits <=
- 120/166: gnu: python-sphinx: Propagate TexLive dependencies., guix-commits, 2022/04/19
- 114/166: gnu: Add python-jupyter-server-mathjax., guix-commits, 2022/04/19
- 111/166: gnu: Add texlive-unicode-math., guix-commits, 2022/04/19
- 117/166: gnu: python-notebook: Update to 6.4.10., guix-commits, 2022/04/19
- 139/166: gnu: python-sqlalchemy: Run tests in parallel via xdist., guix-commits, 2022/04/19
- 106/166: gnu: Add python-pytest-tornado., guix-commits, 2022/04/19
- 145/166: gnu: Add python-dictpath., guix-commits, 2022/04/19
- 142/166: gnu: Add python-aioredis., guix-commits, 2022/04/19
- 154/166: gnu: python-scikit-learn: Parallelize build and test suite., guix-commits, 2022/04/19
- 156/166: gnu: python-umap-learn: Update to 0.5.3., guix-commits, 2022/04/19