[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/29: gnu: Add python-nbclient.
From: |
guix-commits |
Subject: |
10/29: gnu: Add python-nbclient. |
Date: |
Tue, 13 Apr 2021 07:51:50 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 74d2d7a322ecf0013005491a77d91ebb21d11767
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue Apr 13 08:38:47 2021 +0200
gnu: Add python-nbclient.
* gnu/packages/jupyter.scm (python-nbclient): New variable.
---
gnu/packages/jupyter.scm | 53 +++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 52 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/jupyter.scm b/gnu/packages/jupyter.scm
index 955273a..6db61f3 100644
--- a/gnu/packages/jupyter.scm
+++ b/gnu/packages/jupyter.scm
@@ -30,9 +30,12 @@
#:use-module (gnu packages networking)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
+ #:use-module (gnu packages python-build)
+ #:use-module (gnu packages python-check)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages time)
- #:use-module (gnu packages tls))
+ #:use-module (gnu packages tls)
+ #:use-module (gnu packages xml))
(define-public python-jupyter-protocol
(package
@@ -207,3 +210,51 @@ alternative Python kernel for Jupyter.")
"This package contains a syntax coloring theme for pygments making use of
the JupyterLab CSS variables.")
(license license:bsd-3)))
+
+(define-public python-nbclient
+ (package
+ (name "python-nbclient")
+ (version "0.5.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "nbclient" version))
+ (sha256
+ (base32
+ "172q4r6mq0lg394di0pc6ipvniy14jg38wkdsj48r366609jf5yv"))))
+ (build-system python-build-system)
+ ;; Tests require a kernel via python-ipykernel, and also tools from
+ ;; nbconvert.
+ (arguments '(#:tests? #false))
+ (propagated-inputs
+ `(("python-async-generator" ,python-async-generator)
+ ("python-jupyter-client" ,python-jupyter-client)
+ ("python-nbformat" ,python-nbformat)
+ ("python-nest-asyncio" ,python-nest-asyncio)
+ ("python-traitlets" ,python-traitlets)))
+ (native-inputs
+ `(("python-black" ,python-black)
+ ("python-bumpversion" ,python-bumpversion)
+ ("python-check-manifest" ,python-check-manifest)
+ ("python-codecov" ,python-codecov)
+ ("python-coverage" ,python-coverage)
+ ("python-flake8" ,python-flake8)
+ ;; ("python-ipykernel" ,python-ipykernel)
+ ;; ("python-ipython" ,python-ipython)
+ ;; ("python-ipywidgets" ,python-ipywidgets)
+ ("python-mypy" ,python-mypy)
+ ("python-pip" ,python-pip)
+ ("python-pytest" ,python-pytest)
+ ("python-pytest-cov" ,python-pytest-cov)
+ ("python-setuptools" ,python-setuptools)
+ ("python-testpath" ,python-testpath)
+ ("python-tox" ,python-tox)
+ ("python-twine" ,python-twine)
+ ("python-wheel" ,python-wheel)
+ ("python-xmltodict" ,python-xmltodict)))
+ (home-page "https://jupyter.org")
+ (synopsis "Client library for executing notebooks")
+ (description
+ "This package provides a client library for executing notebooks. Formerly
+nbconvert's @code{ExecutePreprocessor.}")
+ (license license:bsd-3)))
- branch master updated (85788dd -> 9e7f09c), guix-commits, 2021/04/13
- 02/29: gnu: python-jupyter-core: Update to 4.7.1., guix-commits, 2021/04/13
- 01/29: gnu: python-terminado: Update to 0.9.4., guix-commits, 2021/04/13
- 13/29: gnu: Remove python2-matplotlib-documentation., guix-commits, 2021/04/13
- 14/29: gnu: Remove python2-ipyparallel., guix-commits, 2021/04/13
- 17/29: gnu: Remove python2-ipykernel., guix-commits, 2021/04/13
- 05/29: gnu: python-widgetsnbextension: Add missing inputs., guix-commits, 2021/04/13
- 08/29: gnu: Add python-nest-asyncio., guix-commits, 2021/04/13
- 11/29: gnu: python-nbconvert: Update to 6.0.7., guix-commits, 2021/04/13
- 10/29: gnu: Add python-nbclient.,
guix-commits <=
- 19/29: gnu: Add python-pygments-github-lexers., guix-commits, 2021/04/13
- 23/29: gnu: python-testpath: Update to 0.4.4., guix-commits, 2021/04/13
- 03/29: gnu: python-jupyter-client: Update to 6.1.12., guix-commits, 2021/04/13
- 21/29: gnu: Add python-sphinxcontrib-github-alt., guix-commits, 2021/04/13
- 24/29: gnu: Add python-deprecation., guix-commits, 2021/04/13
- 07/29: gnu: python-notebook: Update inputs., guix-commits, 2021/04/13
- 20/29: gnu: Add python-requests-unixsocket., guix-commits, 2021/04/13
- 26/29: gnu: Add python-jupyterlab-widgets., guix-commits, 2021/04/13
- 09/29: gnu: Add python-jupyterlab-pygments., guix-commits, 2021/04/13
- 12/29: gnu: python-nbformat: Update to 5.1.3., guix-commits, 2021/04/13