[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/20: gnu: python-ipython: Break dependency on python-ipykernel.
From: |
guix-commits |
Subject: |
09/20: gnu: python-ipython: Break dependency on python-ipykernel. |
Date: |
Wed, 2 Jan 2019 10:34:32 -0500 (EST) |
rekado pushed a commit to branch master
in repository guix.
commit 75246daff2754f925d3d63ca8995c8e635e17651
Author: Ricardo Wurmus <address@hidden>
Date: Wed Jan 2 15:46:44 2019 +0100
gnu: python-ipython: Break dependency on python-ipykernel.
* gnu/packages/python.scm (python-ipython)[propagated-inputs]: Remove
python-ipykernel.
[arguments]: Delete more broken tests.
---
gnu/packages/python.scm | 20 ++++++++++++++------
1 file changed, 14 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index ee51f23..4cf6936 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -4923,7 +4923,6 @@ installing @code{kernelspec}s for use with Jupyter
frontends.")
("python-simplegeneric" ,python-simplegeneric)
("python-jsonschema" ,python-jsonschema)
("python-traitlets" ,python-traitlets)
- ("python-ipykernel" ,python-ipykernel)
("python-nbformat" ,python-nbformat)
("python-pygments" ,python-pygments)))
(inputs
@@ -5012,12 +5011,12 @@ installing @code{kernelspec}s for use with Jupyter
frontends.")
;; Make installed package available for running the tests
(add-installed-pythonpath inputs outputs)
(setenv "HOME" "/tmp/") ;; required by a test
- ;; These two tests throw errors.
- (delete-file "IPython/extensions/tests/test_storemagic.py")
- (delete-file "IPython/core/tests/test_displayhook.py")
- (invoke "nosetests"))
+ ;; We only test the core because one of the other tests
+ ;; tries to import ipykernel.
+ (invoke "python" "IPython/testing/iptest.py"
+ "-v" "IPython/core/tests"))
#t)))
- (add-before 'install 'fix-tests
+ (add-before 'check 'fix-tests
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "./IPython/utils/_process_posix.py"
(("/usr/bin/env', 'which") (which "which")))
@@ -5028,6 +5027,15 @@ installing @code{kernelspec}s for use with Jupyter
frontends.")
(substitute* "./IPython/core/tests/test_magic.py"
(("def test_dirops\\(\\):" all)
(string-append "@dec.skipif(True)\n" all)))
+ ;; This test introduces a circular dependency on ipykernel
+ ;; (which depends on ipython).
+ (delete-file "IPython/core/tests/test_display.py")
+ ;; These tests throw errors for unknown reasons.
+ (delete-file "IPython/extensions/tests/test_storemagic.py")
+ (delete-file "IPython/core/tests/test_displayhook.py")
+ (delete-file "IPython/core/tests/test_interactiveshell.py")
+ (delete-file "IPython/core/tests/test_pylabtools.py")
+ (delete-file "IPython/core/tests/test_paths.py")
#t)))))
(home-page "https://ipython.org";)
(synopsis "IPython is a tool for interactive computing in Python")
- 01/20: gnu: python-docopt: Use INVOKE., (continued)
- 01/20: gnu: python-docopt: Use INVOKE., guix-commits, 2019/01/02
- 04/20: gnu: python-hy: Use INVOKE., guix-commits, 2019/01/02
- 03/20: gnu: python-clint: Use INVOKE., guix-commits, 2019/01/02
- 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 <=
- 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, 2019/01/02
- 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