[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
17/20: gnu: python-notebook: Update to 5.7.4.
From: |
guix-commits |
Subject: |
17/20: gnu: python-notebook: Update to 5.7.4. |
Date: |
Wed, 2 Jan 2019 10:34:33 -0500 (EST) |
rekado pushed a commit to branch master
in repository guix.
commit 91dd8b368703ab0d183839fbe9fa8a3d23bf5001
Author: Ricardo Wurmus <address@hidden>
Date: Wed Jan 2 16:27:18 2019 +0100
gnu: python-notebook: Update to 5.7.4.
* gnu/packages/python.scm (python-notebook): Update to 5.7.4.
[arguments]: Use INVOKE for tests.
[propagated-inputs]: Remove python-ipython; add python-prometheus-client,
python-send2trash, and python-terminado.
---
gnu/packages/python.scm | 19 ++++++++++++++-----
1 file changed, 14 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index e15f6f6..f68062a 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -7157,27 +7157,36 @@ system.")
(define-public python-notebook
(package
(name "python-notebook")
- (version "4.2.3")
+ (version "5.7.4")
(source (origin
(method url-fetch)
(uri (pypi-uri "notebook" version))
(sha256
(base32
- "0laq5c2f21frq6xcdckgq7raqhznbjb0qs0357g612z87wyn1a9r"))))
+ "0jm7324mbxljmn9hgapj66q7swyz5ai92blmr0jpcy0h80x6f26r"))))
(build-system python-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda _
- ;; HOME must be set for tests
+ ;; These tests require a browser
+ (delete-file-recursively "notebook/tests/selenium")
+ ;; Some tests need HOME
(setenv "HOME" "/tmp")
- (zero? (system* "nosetests")))))))
+ ;; This file contains "warningfilters", which are not supported
+ ;; by this version of nose.
+ (delete-file "setup.cfg")
+ (with-directory-excursion "/tmp"
+ (invoke "nosetests" "-v"))
+ #t)))))
(propagated-inputs
`(("python-jupyter-core" ,python-jupyter-core)
("python-nbformat" ,python-nbformat)
("python-nbconvert" ,python-nbconvert)
- ("python-ipython" ,python-ipython)))
+ ("python-prometheus-client" ,python-prometheus-client)
+ ("python-send2trash" ,python-send2trash)
+ ("python-terminado" ,python-terminado)))
(native-inputs
`(("python-nose" ,python-nose)
("python-sphinx" ,python-sphinx)
- 06/20: gnu: Add python-prompt-toolkit-1., (continued)
- 06/20: gnu: Add python-prompt-toolkit-1., guix-commits, 2019/01/02
- 13/20: gnu: python-widgetsnbextension: Update to 3.4.2., guix-commits, 2019/01/02
- 14/20: gnu: python-ipywidgets: Enable tests., guix-commits, 2019/01/02
- 18/20: gnu: Add python-qtconsole., guix-commits, 2019/01/02
- 08/20: gnu: python-ipykernel: Update to 5.1.0., guix-commits, 2019/01/02
- 10/20: gnu: python-jupyter-client: Update to 5.2.4., guix-commits, 2019/01/02
- 12/20: gnu: Add python-send2trash., guix-commits, 2019/01/02
- 09/20: gnu: python-ipython: Break dependency on python-ipykernel., guix-commits, 2019/01/02
- 05/20: gnu: python-prompt-toolkit: Update to 2.0.7., guix-commits, 2019/01/02
- 11/20: gnu: Add python-prometheus-client., guix-commits, 2019/01/02
- 17/20: gnu: python-notebook: Update to 5.7.4.,
guix-commits <=
- 16/20: gnu: python-jupyter-console: Fix inputs., guix-commits, 2019/01/02
- 20/20: gnu: jupyter: Add missing dependency., guix-commits, 2019/01/02
- 19/20: gnu: python-terminado: Update to 0.8.1., guix-commits, 2019/01/02
- 07/20: gnu: python-ipython: Update to 5.8.0., guix-commits, 2019/01/02