~ruther/guix-local

783da5d08c490c70189ba6d69c778170df8d969b — Sharlatan Hellseher 2 months ago acf9791
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
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
1 files changed, 12 insertions(+), 10 deletions(-)

M gnu/packages/jupyter.scm
M gnu/packages/jupyter.scm => gnu/packages/jupyter.scm +12 -10
@@ 1684,12 1684,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


@@ 1701,17 1709,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")