guix_mirror_bot pushed a commit to branch python-team
in repository guix.

commit 5a19be7f23e7e13b9d9a8fb3686b570ab9c13b0d
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Wed Dec 10 23:06:10 2025 +0000

    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
---
 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 c441b11bee..63fb8c995a 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

Reply via email to