rekado pushed a commit to branch master
in repository guix.
commit f0eb442c20466a256f1851522330baccb1afb287
Author: Ricardo Wurmus <[email protected]>
Date: Wed Jan 2 15:45:27 2019 +0100
gnu: python-ipykernel: Update to 5.1.0.
* gnu/packages/python.scm (python-ipykernel): Update to 5.1.0.
[arguments]: Enable tests.
[propagated-inputs]: Add python-ipython.
[native-inputs]: Add python-pytest and python-nose.
---
gnu/packages/python.scm | 23 ++++++++++++++++-------
1 file changed, 16 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 56234b7..ee51f23 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -4856,20 +4856,29 @@ installing @code{kernelspec}s for use with Jupyter
frontends.")
(define-public python-ipykernel
(package
(name "python-ipykernel")
- (version "4.5.2")
+ (version "5.1.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "ipykernel" version))
(sha256
- (base32 "0qllv0k6zzv1r1cj1x2ygxmlrrqhbslzj8rc6r6fg3kc1rgz4m2s"))))
+ (base32 "0br95qhrd5k65g10djngiy27hs0642301hlf2q142i8djabvzh0g"))))
(build-system python-build-system)
- ;; The tests load a submodule of IPython. However, IPython itself depends
- ;; on ipykernel.
- (arguments `(#:tests? #f))
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda _
+ (setenv "HOME" "/tmp")
+ (invoke "pytest" "-v")
+ #t)))))
(propagated-inputs
- ;; imported at runtime during connect
- `(("python-jupyter-client" ,python-jupyter-client)))
+ `(("python-ipython" ,python-ipython)
+ ;; imported at runtime during connect
+ ("python-jupyter-client" ,python-jupyter-client)))
+ (native-inputs
+ `(("python-pytest" ,python-pytest)
+ ("python-nose" ,python-nose)))
(home-page "https://ipython.org")
(synopsis "IPython Kernel for Jupyter")
(description