summaryrefslogtreecommitdiff
path: root/gnu/packages/python-check.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-12-10 23:06:10 +0000
committerRutherther <rutherther@ditigal.xyz>2026-01-25 21:18:14 +0100
commita611ae225d6dd933846ee450f217956a70a1282d (patch)
tree77b88b16542337fd803ad8cce819c47280d39bdc /gnu/packages/python-check.scm
parenta0ed2482e488b12546014811383d17bab5c78892 (diff)
gnu: python-nbval: Reduce closure size.
* gnu/packages/python-check.scm (python-nbval): [arguments] <test-flags>: Skip some more tests to reduce closure size. [propagated-inputs]: Remove python-six. [native-inputs]: Remove python-pytest-cov, python-sympy, and python-wheel. Change-Id: I3e3e4378a837d62c553ff432aecf45d266589aee Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Diffstat (limited to 'gnu/packages/python-check.scm')
-rw-r--r--gnu/packages/python-check.scm22
1 files changed, 11 insertions, 11 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index c441b11bee1..63fb8c995a9 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -1739,10 +1739,11 @@ notebooks.")
(arguments
(list
#:test-flags
- '(list
- ;; This test fails because of a mismatch in the output of LaTeX
- ;; equation environments. Seems OK to skip.
- "--ignore=tests/test_nbdime_reporter.py")
+ ;; This test fails because of a mismatch in the output of LaTeX
+ ;; equation environments. Seems OK to skip.
+ #~(list "--ignore=tests/test_nbdime_reporter.py"
+ ;; assert <ExitCode.USAGE_ERROR: 4> == 0
+ "--deselect=tests/test_coverage.py::test_coverage")
#:phases
#~(modify-phases %standard-phases
(add-before 'check 'fix-test
@@ -1750,19 +1751,18 @@ notebooks.")
;; This test fails because of a mismatch in the output of LaTeX
;; equation environments. Seems OK to skip.
(delete-file
- "tests/ipynb-test-samples/test-latex-pass-correctouput.ipynb"))))))
+ "tests/ipynb-test-samples/test-latex-pass-correctouput.ipynb")
+ ;; Prevent adding python-sympy.
+ (delete-file
+ "tests/ipynb-test-samples/test-latex-pass-failsbutignoreoutput.ipynb"))))))
(native-inputs
(list python-pytest
- python-pytest-cov
- python-setuptools
- python-sympy
- python-wheel))
+ python-setuptools))
(propagated-inputs
(list python-coverage
python-ipykernel
python-jupyter-client
- python-nbformat
- python-six))
+ python-nbformat))
(home-page "https://github.com/computationalmodelling/nbval")
(synopsis "Pytest plugin to validate Jupyter notebooks")
(description