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.
This commit is contained in:
parent
92a9f93615
commit
f0eb442c20
|
@ -4856,20 +4856,29 @@ installing @code{kernelspec}s for use with Jupyter frontends.")
|
||||||
(define-public python-ipykernel
|
(define-public python-ipykernel
|
||||||
(package
|
(package
|
||||||
(name "python-ipykernel")
|
(name "python-ipykernel")
|
||||||
(version "4.5.2")
|
(version "5.1.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "ipykernel" version))
|
(uri (pypi-uri "ipykernel" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0qllv0k6zzv1r1cj1x2ygxmlrrqhbslzj8rc6r6fg3kc1rgz4m2s"))))
|
(base32 "0br95qhrd5k65g10djngiy27hs0642301hlf2q142i8djabvzh0g"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
;; The tests load a submodule of IPython. However, IPython itself depends
|
(arguments
|
||||||
;; on ipykernel.
|
`(#:phases
|
||||||
(arguments `(#:tests? #f))
|
(modify-phases %standard-phases
|
||||||
|
(replace 'check
|
||||||
|
(lambda _
|
||||||
|
(setenv "HOME" "/tmp")
|
||||||
|
(invoke "pytest" "-v")
|
||||||
|
#t)))))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
;; imported at runtime during connect
|
`(("python-ipython" ,python-ipython)
|
||||||
`(("python-jupyter-client" ,python-jupyter-client)))
|
;; 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")
|
(home-page "https://ipython.org")
|
||||||
(synopsis "IPython Kernel for Jupyter")
|
(synopsis "IPython Kernel for Jupyter")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Reference in New Issue