From 01dc3284afb978cccdc387a3f86000e9d985c207 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 15 Jan 2025 19:42:28 +0100 Subject: [PATCH] gnu: python-nbstripout: Update to 0.8.1. * gnu/packages/jupyter.scm (python-nbstripout): Update to 0.8.1. [arguments]: Update test flags. [native-inputs]: Remove python-pytest-cram, python-pytest-flake8, and python-pytest-runner. Change-Id: I308ae787f7777ef11661ce8ef8802e13fa743509 --- gnu/packages/jupyter.scm | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/gnu/packages/jupyter.scm b/gnu/packages/jupyter.scm index 06ae1cc29c6..d4a9b9e82bb 100644 --- a/gnu/packages/jupyter.scm +++ b/gnu/packages/jupyter.scm @@ -867,21 +867,21 @@ nbshow present a single notebook in a terminal-friendly way (define-public python-nbstripout (package (name "python-nbstripout") - (version "0.5.0") + (version "0.8.1") (source (origin (method url-fetch) (uri (pypi-uri "nbstripout" version)) (sha256 (base32 - "1n57nvxsc94gz9w8ymi83bjkfhfwkpmx4y14m6gjrmlqd49m1aw6")))) + "1c8b4fz807qlh028yi35gahwbas4pbwc1wjx3vz8v7kj9rmqpb7a")))) (build-system pyproject-build-system) (arguments (list - ;; These tests use git and hg, and they are sensitive to the - ;; exact printed output. - #:test-flags '(map (lambda (test) - (string-append "--ignore=tests/test-" test ".t")) - '("git" "hg" "status" "uninstall")) + #:test-flags + ;; These tests use git. + '(list "--ignore=tests/test_git_integration.py" + ;; These complain about missing files. + "--ignore=tests/test_end_to_end.py") #:phases #~(modify-phases %standard-phases (add-before 'check 'set-CRAMSHELL @@ -889,12 +889,7 @@ nbshow present a single notebook in a terminal-friendly way (setenv "CRAMSHELL" (which "bash"))))))) (propagated-inputs (list python-nbformat)) (native-inputs - (list python-pytest - python-pytest-cram - python-pytest-flake8 - python-pytest-runner - python-setuptools - python-wheel)) + (list python-pytest python-setuptools python-wheel)) (home-page "https://github.com/kynan/nbstripout") (synopsis "Strips outputs from Jupyter and IPython notebooks") (description