summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm85
1 files changed, 0 insertions, 85 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 666de1bcd7..a2aa6fb7b5 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -19328,91 +19328,6 @@ convert an @code{.ipynb} notebook file into various static formats including:
@end enumerate\n")
(license license:bsd-3)))
-(define-public python-notebook
- (package
- (name "python-notebook")
- (version "6.5.7")
- (source (origin
- (method url-fetch)
- (uri (pypi-uri "notebook" version))
- (sha256
- (base32
- "1r38fwr0r4xgkz8y27w3xyz2dk97ih5azba28jylyqxcvw8r1sq4"))))
- (build-system pyproject-build-system)
- (arguments
- (list
- #:test-flags
- '(list "-k" (string-append
- ;; TODO: This tests fails because nbconvert does not
- ;; list "python" as a format.
- "not test_list_formats"
- ;; AssertionError: Lists differ:
- " and not test_disable"
- " and not test_enable"
- " and not test_merge_config"
- " and not test_load_ordered"
- " and not test_list_running_sock_servers"
- " and not test_run")
- ;; These tests require a browser.
- "--ignore=notebook/tests/selenium")
- #:phases
- '(modify-phases %standard-phases
- (add-after 'unpack 'use-our-home-for-tests
- (lambda _
- ;; The 'get_patch_env' function in this file reads:
- ;; 'HOME': cls.home_dir
- ;; but for some reason, that definition of HOME is not what the
- ;; GLib/GIO trash mechanism honors, which would cause test
- ;; failures. Instead, set 'HOME' here to an existing directory
- ;; and let the tests honor it.
- (substitute* "notebook/tests/launchnotebook.py"
- (("'HOME': .*," all)
- (string-append "# " all "\n")))
- (setenv "HOME" (getcwd))))
- ;; Because python-jsonschema has an old python-webcolor. Remove this
- ;; when python-team branch is merged.
- (delete 'sanity-check)
- (add-before 'check 'pre-check
- (lambda _
- ;; Interferes with test expectations.
- (unsetenv "JUPYTER_CONFIG_PATH")
- ;; Some tests do not expect all files to be installed in the
- ;; same directory, but JUPYTER_PATH contains multiple entries.
- (unsetenv "JUPYTER_PATH"))))))
- (propagated-inputs
- (list python-argon2-cffi
- python-ipykernel
- python-ipython-genutils
- python-jinja2
- python-jupyter-client
- python-jupyter-core
- python-nest-asyncio
- python-nbclassic
- python-nbconvert
- python-nbformat
- python-prometheus-client
- python-pyzmq
- python-send2trash
- python-terminado
- python-tornado-6
- python-traitlets))
- (native-inputs
- (list python-coverage
- python-jupyter-server
- python-nbval
- python-pytest
- python-pytest-cov
- python-requests
- python-requests-unixsocket2
- python-setuptools
- python-wheel))
- (home-page "https://jupyter.org/")
- (synopsis "Web-based notebook environment for interactive computing")
- (description
- "The Jupyter HTML notebook is a web-based notebook environment for
-interactive computing.")
- (license license:bsd-3)))
-
(define-public python-widgetsnbextension
(package
(name "python-widgetsnbextension")