[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/64: gnu: Add python-nbmake.
From: |
guix-commits |
Subject: |
10/64: gnu: Add python-nbmake. |
Date: |
Thu, 2 May 2024 10:52:18 -0400 (EDT) |
rekado pushed a commit to branch wip-python-team
in repository guix.
commit df17e55d5d17d1dcbef4c41234d7d1ad6de0f55f
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Mon Apr 29 10:48:58 2024 +0200
gnu: Add python-nbmake.
* gnu/packages/python-check.scm (python-nbmake): New variable.
Change-Id: If062d0e34329e99b5bb87588e7ddf149c65bfdfb
---
gnu/packages/python-check.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 6fdfaad6fb..9124e9c1c4 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -43,6 +43,7 @@
#:use-module (gnu packages check)
#:use-module (gnu packages django)
#:use-module (gnu packages docker)
+ #:use-module (gnu packages jupyter)
#:use-module (gnu packages openstack)
#:use-module (gnu packages perl)
#:use-module (gnu packages python-build)
@@ -1515,6 +1516,39 @@ new fixtures, new methods and new comparison objects.")
(description "This package provides a pytest plugin for aiohttp support.")
(license license:asl2.0)))
+(define-public python-nbmake
+ (package
+ (name "python-nbmake")
+ (version "1.5.3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/treebeardtech/nbmake")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "06syl819kwqhmjwp34lri31f0pypwnxs9j03s5lbk12w42mihzdi"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:phases
+ '(modify-phases %standard-phases
+ (add-before 'check 'set-HOME
+ (lambda _ (setenv "HOME" "/tmp"))))))
+ (propagated-inputs
+ (list python-ipykernel python-nbclient python-nbformat python-pygments))
+ (native-inputs
+ (list python-poetry-core
+ python-pytest
+ python-pytest-xdist
+ python-pyyaml))
+ (home-page "https://github.com/treebeardtech/nbmake")
+ (synopsis "Pytest plugin for testing notebooks")
+ (description "This package provides a Pytest plugin for testing Jupyter
+notebooks.")
+ (license license:asl2.0)))
+
(define-public python-nbval
(package
(name "python-nbval")
- branch wip-python-team created (now 182490b344), guix-commits, 2024/05/02
- 01/64: gnu: Add python-dask-image., guix-commits, 2024/05/02
- 02/64: gnu: python-pooch: Update to 1.8.1., guix-commits, 2024/05/02
- 04/64: gnu: Add python-xarray-schema., guix-commits, 2024/05/02
- 05/64: gnu: Add rust-lapack-sys-0.14., guix-commits, 2024/05/02
- 03/64: gnu: python-xarray-datatree: Add missing input., guix-commits, 2024/05/02
- 06/64: gnu: Add rust-lapack-0.19., guix-commits, 2024/05/02
- 08/64: gnu: Add rust-blas-0.22., guix-commits, 2024/05/02
- 09/64: gnu: Add python-pyct., guix-commits, 2024/05/02
- 10/64: gnu: Add python-nbmake.,
guix-commits <=
- 18/64: gnu: Add python-qdldl., guix-commits, 2024/05/02
- 20/64: gnu: Add python-ecos., guix-commits, 2024/05/02
- 26/64: gnu: python-xarray: Disable tests that are known to fail., guix-commits, 2024/05/02
- 31/64: gnu: python-scikit-learn: Update to 1.4.2., guix-commits, 2024/05/02
- 30/64: gnu: python-cython-3: Update to 3.0.8., guix-commits, 2024/05/02
- 35/64: gnu: Add apache-orc., guix-commits, 2024/05/02
- 11/64: gnu: Add python-colorcet., guix-commits, 2024/05/02
- 13/64: gnu: Add python-param., guix-commits, 2024/05/02
- 15/64: gnu: Add python-clarabel., guix-commits, 2024/05/02
- 16/64: gnu: Add python-fastcluster., guix-commits, 2024/05/02