[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
103/242: gnu: python-jupyter-core: Update to 4.10.0.
From: |
guix-commits |
Subject: |
103/242: gnu: python-jupyter-core: Update to 4.10.0. |
Date: |
Wed, 11 May 2022 18:02:59 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit 2e593a95e948afd5401a9686fb17094444b46a74
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 914774e303..712307e7d5 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -8949,26 +8949,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
@@ -8977,8 +8981,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
@@ -8990,10 +8993,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
- 81/242: gnu: Add python-skia-pathops., (continued)
- 81/242: gnu: Add python-skia-pathops., guix-commits, 2022/05/11
- 84/242: gnu: Add python-ufo2ft., guix-commits, 2022/05/11
- 91/242: gnu: python-flask: Update to 2.1.1., guix-commits, 2022/05/11
- 94/242: gnu: pylint: Run tests in parallel., guix-commits, 2022/05/11
- 90/242: gnu: python-click: Update to 8.1.2 and honor TESTS?., guix-commits, 2022/05/11
- 76/242: gnu: Add java-antlr4-runtime-cpp., guix-commits, 2022/05/11
- 85/242: gnu: Add python-sfdlib., guix-commits, 2022/05/11
- 97/242: gnu: Add python-debugpy., guix-commits, 2022/05/11
- 100/242: gnu: python-pytest-xdist-next: Update to 2.5.0., guix-commits, 2022/05/11
- 102/242: gnu: python-nest-asyncio: Update to 1.5.5., guix-commits, 2022/05/11
- 103/242: gnu: python-jupyter-core: Update to 4.10.0.,
guix-commits <=
- 104/242: gnu: python-jupyter-client: Update to 7.2.2., guix-commits, 2022/05/11
- 105/242: gnu: python-ipykernel: Update to 6.13.0., guix-commits, 2022/05/11
- 107/242: gnu: python-ipyparallel: Update to 8.2.1., guix-commits, 2022/05/11
- 108/242: gnu: python-anyio: Replace python-pytest-trio with python-trio., guix-commits, 2022/05/11
- 115/242: gnu: python-nbval: Fix build., guix-commits, 2022/05/11
- 120/242: gnu: python-sphinx: Propagate TexLive dependencies., guix-commits, 2022/05/11
- 125/242: gnu: texlive-polyglossia: Rename and fix package., guix-commits, 2022/05/11
- 126/242: gnu: Add texlive-cbfonts-fd., guix-commits, 2022/05/11
- 127/242: gnu: Add texlive-cbfonts., guix-commits, 2022/05/11
- 128/242: download: Add a mirror for CTAN., guix-commits, 2022/05/11