summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVinicius Monego <monego@posteo.net>2025-06-27 20:05:02 -0300
committerVinicius Monego <monego@posteo.net>2025-06-29 00:04:43 -0300
commita56b0f76c062d2a5a7a0361122e034ce88e5dc9e (patch)
tree248078d9a41e97e79bebe65f5ce851ec38a54d17
parentb6c383eb5bce93c9490215714ea62f990151c9be (diff)
gnu: python-nb-clean: Update to 4.0.1.
* gnu/packages/python-xyz.scm (python-nb-clean): Update to 4.0.1. [source]: Fetch from GitHub. [build-system]: Use pyproject-build-system. [native-inputs]: Add python-poetry-core, python-pytest, python-pytest-cov, python-pytest-mock. Change-Id: I9eb94f5411fd0686f21d6546cd8619d8a9680b6e
-rw-r--r--gnu/packages/python-xyz.scm17
1 files changed, 12 insertions, 5 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 84213ae508..05893b6c69 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -18902,14 +18902,21 @@ Jupyter Notebook format and Python APIs for working with notebooks.")
(define-public python-nb-clean
(package
(name "python-nb-clean")
- (version "2.1.0")
+ (version "4.0.1")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "nb-clean" version))
+ (method git-fetch) ; no tests in PyPI
+ (uri (git-reference
+ (url "https://github.com/srstevenson/nb-clean")
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
- (base32 "01qvk9n7rx15dhc23m8bj9bw5wdyxh6y18c5fm8hllmrd3ndsx14"))))
- (build-system python-build-system)
+ (base32 "1pa4m1qn7gx77lg3vy7y7vlyl45cg9ai9z93ds9ax108mbnrbdw7"))))
+ (build-system pyproject-build-system)
+ (native-inputs (list python-poetry-core
+ python-pytest
+ python-pytest-cov ; runs by default
+ python-pytest-mock))
(propagated-inputs (list python-nbformat))
(home-page "https://github.com/srstevenson/nb-clean")
(synopsis "Clean Jupyter notebooks for versioning")