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

commit c103296e10cd7db3cd3289b12ca0a687a8c57804
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sun Jan 4 01:19:43 2026 +0000

    gnu: python-papermill: Reduce closure size; skip 2 tests.
    
    The most of the native inputs were there to tests ignored tests, they
    are removed now to reduce closure size.
    
    * gnu/packages/jupyter.scm (python-papermill):
    [arguments] <test-flags>: Skip 2 failing tests.
    [native-inputs]: Remove python-boto3, python-botocore, python-ipython,
    python-ipywidgets, python-moto, and python-requests.
    
    Change-Id: I4c07a024a9514a44b5819196754e44ee86d47883
---
 gnu/packages/jupyter.scm | 22 ++++++++++++----------
 1 file changed, 12 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/jupyter.scm b/gnu/packages/jupyter.scm
index 7649533ffa..38b70f77ca 100644
--- a/gnu/packages/jupyter.scm
+++ b/gnu/packages/jupyter.scm
@@ -1680,12 +1680,20 @@ datasets across widgets.")
     (build-system pyproject-build-system)
     (arguments
      (list
+      ;; tests: 500 passed, 3 skipped, 2 deselected, 29 warnings
       #:test-flags
       ;; Do not bother testing Azure, AWS, and Google Cloud features.
-      '(list "--ignore=papermill/tests/test_abs.py"
-             "--ignore=papermill/tests/test_adl.py"
-             "--ignore=papermill/tests/test_gcs.py"
-             "--ignore=papermill/tests/test_s3.py")))
+      #~(list "--ignore=papermill/tests/test_abs.py"
+              "--ignore=papermill/tests/test_adl.py"
+              "--ignore=papermill/tests/test_gcs.py"
+              "--ignore=papermill/tests/test_s3.py"
+              ;; AssertionError
+              #$@(map (lambda (test) (string-append "--deselect="
+                                                    "papermill/tests/"
+                                                    "test_execute.py::"
+                                                    test))
+                      (list "TestBrokenNotebook2::test"
+                            "TestOutputFormatting::test_output_formatting")))))
     (propagated-inputs (list python-aiohttp
                              python-ansicolors
                              python-click
@@ -1697,17 +1705,11 @@ datasets across widgets.")
                              python-tenacity
                              python-tqdm))
     (native-inputs (list python-attrs
-                         python-boto3
-                         python-botocore
-                         python-ipython
-                         python-ipywidgets
-                         python-moto
                          python-notebook
                          python-pytest
                          python-pytest-env
                          python-pytest-mock
                          python-recommonmark
-                         python-requests
                          python-setuptools))
     (home-page "https://github.com/nteract/papermill";)
     (synopsis "Parameterize and run Jupyter and nteract Notebooks")

Reply via email to