aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2024-06-16 22:48:57 +0200
committerRicardo Wurmus <rekado@elephly.net>2024-06-16 22:54:56 +0200
commitacb6cdc2990df2373707393d55da6827353862a8 (patch)
tree097339f1380478b4bb57a15e9e6df1b29248b6f1
parent21ce9502f155596a43a9ecef93148b8a8806906f (diff)
downloadguix-acb6cdc2990df2373707393d55da6827353862a8.tar.gz
guix-acb6cdc2990df2373707393d55da6827353862a8.zip
gnu: Add python-papermill.
* gnu/packages/jupyter.scm (python-papermill): New variable. Change-Id: I79bb9e9f2d95561f5e73f36213aa9f5b87f5d49a
-rw-r--r--gnu/packages/jupyter.scm57
1 files changed, 57 insertions, 0 deletions
diff --git a/gnu/packages/jupyter.scm b/gnu/packages/jupyter.scm
index 7ff6202665..8c8c7b5347 100644
--- a/gnu/packages/jupyter.scm
+++ b/gnu/packages/jupyter.scm
@@ -850,6 +850,63 @@ JupyterLab.")
datasets across widgets.")
(license license:bsd-3)))
+(define-public python-papermill
+ (package
+ (name "python-papermill")
+ (version "2.6.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "papermill" version))
+ (sha256
+ (base32 "097ai2n7f72a7hya9qnds3f28cg70p8xdj2c3cwqymzx28cskqlz"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags
+ ;; Do not bother testing Azure, AWS, and Google Cloud features.
+ '(list "--ignore=papermill/tests/test_abs.py"
+ "--ignore=papermill/tests/test_adl.py"
+ "--ignore=papermill/tests/test_gcs.py"
+ "--ignore=papermill/tests/test_s3.py")))
+ (propagated-inputs (list python-aiohttp
+ python-ansicolors
+ python-click
+ python-entrypoints
+ python-nbclient
+ python-nbformat
+ python-pyyaml
+ python-requests
+ python-tenacity
+ python-tqdm))
+ (native-inputs (list python-attrs
+ python-black
+ python-boto3
+ python-botocore
+ python-bumpversion
+ python-check-manifest
+ python-codecov
+ python-coverage
+ python-ipython
+ python-ipywidgets
+ python-moto
+ python-notebook
+ python-pytest
+ python-pytest-cov
+ python-pytest-env
+ python-pytest-mock
+ python-recommonmark
+ python-requests
+ python-setuptools
+ python-tox
+ python-twine
+ python-wheel))
+ (home-page "https://github.com/nteract/papermill")
+ (synopsis "Parameterize and run Jupyter and nteract Notebooks")
+ (description "Papermill is a tool for parameterizing, executing, and
+analyzing Jupyter Notebooks.")
+ (license license:bsd-3)))
+
(define-public python-voila
(package
(name "python-voila")