From a611ae225d6dd933846ee450f217956a70a1282d Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Wed, 10 Dec 2025 23:06:10 +0000 Subject: [PATCH] gnu: python-nbval: Reduce closure size. * gnu/packages/python-check.scm (python-nbval): [arguments] : 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 --- gnu/packages/python-check.scm | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index c441b11bee12361a8e2f2c334946493f0f6323ae..63fb8c995a9930c3e5be1bf455fc29ff11fc84a3 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 == 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