~ruther/guix-local

d7ea14f8cd31b9d216a7c90e2f82820713bf912d — Sharlatan Hellseher 3 months ago d119085
gnu: python-jupyter-console: Update to 6.6.3.

* gnu/packages/python-xyz.scm (python-jupyter-console): Update to 6.6.3.
[arguments] <test-flags>: Skip one test.
<phases>: Add 'pre-check.
[propagated-inputs]: Add python-ipython, python-jupyter-core,
python-pyzmq, and python-traitlets.
[native-inputs]: Remove python-setuptools; add python-flaky and
python-hatchling.

Change-Id: Ia7d12b313cfcc890a5173813b92d97872ece742b
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
1 files changed, 24 insertions(+), 6 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +24 -6
@@ 18703,20 18703,38 @@ in the data.")
(define-public python-jupyter-console
  (package
    (name "python-jupyter-console")
    (version "6.4.0")
    (version "6.6.3")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "jupyter_console" version))
       (sha256
        (base32
         "1iqrxhd8hvlyf8cqbc731ssnwm61wrycnbiczy5wsfahd3hlh8i4"))))
         "0f9mllaavanqlimiv9sxxmqrmdb961p89prcyanvzbc73krlnsjn"))))
    (build-system pyproject-build-system)
    (arguments (list #:test-backend #~'unittest))
    (native-inputs (list python-pytest python-setuptools))
    (arguments
     (list
      #:test-flags
      ;; ModuleNotFoundError: No module named 'traitlets'
      #~(list "--deselect=jupyter_console/tests/test_console.py::test_generate_config")
      #:phases
      #~(modify-phases %standard-phases
          (add-before 'check 'pre-check
            (lambda _
              (setenv "HOME" "/tmp"))))))
    (native-inputs
     (list python-flaky
           python-hatchling
           python-pytest))
    (propagated-inputs
     (list python-ipykernel python-jupyter-client python-prompt-toolkit
           python-pygments))
     (list python-ipykernel
           python-ipython
           python-jupyter-client
           python-jupyter-core
           python-prompt-toolkit
           python-pygments
           python-pyzmq
           python-traitlets))
    (home-page "https://jupyter.org")
    (synopsis "Jupyter terminal console")
    (description "This package provides a terminal-based console frontend for