~ruther/guix-local

01dc3284afb978cccdc387a3f86000e9d985c207 — Ricardo Wurmus 1 year, 4 months ago ba2e538
gnu: python-nbstripout: Update to 0.8.1.

* gnu/packages/jupyter.scm (python-nbstripout): Update to 0.8.1.
[arguments]: Update test flags.
[native-inputs]: Remove python-pytest-cram, python-pytest-flake8, and
python-pytest-runner.

Change-Id: I308ae787f7777ef11661ce8ef8802e13fa743509
1 files changed, 8 insertions(+), 13 deletions(-)

M gnu/packages/jupyter.scm
M gnu/packages/jupyter.scm => gnu/packages/jupyter.scm +8 -13
@@ 867,21 867,21 @@ nbshow present a single notebook in a terminal-friendly way
(define-public python-nbstripout
  (package
    (name "python-nbstripout")
    (version "0.5.0")
    (version "0.8.1")
    (source (origin
              (method url-fetch)
              (uri (pypi-uri "nbstripout" version))
              (sha256
               (base32
                "1n57nvxsc94gz9w8ymi83bjkfhfwkpmx4y14m6gjrmlqd49m1aw6"))))
                "1c8b4fz807qlh028yi35gahwbas4pbwc1wjx3vz8v7kj9rmqpb7a"))))
    (build-system pyproject-build-system)
    (arguments
     (list
      ;; These tests use git and hg, and they are sensitive to the
      ;; exact printed output.
      #:test-flags '(map (lambda (test)
                           (string-append "--ignore=tests/test-" test ".t"))
                         '("git" "hg" "status" "uninstall"))
      #:test-flags
      ;; These tests use git.
      '(list "--ignore=tests/test_git_integration.py"
             ;; These complain about missing files.
             "--ignore=tests/test_end_to_end.py")
      #:phases
      #~(modify-phases %standard-phases
          (add-before 'check 'set-CRAMSHELL


@@ 889,12 889,7 @@ nbshow present a single notebook in a terminal-friendly way
              (setenv "CRAMSHELL" (which "bash")))))))
    (propagated-inputs (list python-nbformat))
    (native-inputs
     (list python-pytest
           python-pytest-cram
           python-pytest-flake8
           python-pytest-runner
           python-setuptools
           python-wheel))
     (list python-pytest python-setuptools python-wheel))
    (home-page "https://github.com/kynan/nbstripout")
    (synopsis "Strips outputs from Jupyter and IPython notebooks")
    (description