~ruther/guix-local

d3c25e263ccb0c04bc70139d2b1756aa9e34843d — Ricardo Wurmus 2 years ago 0b8204c
gnu: python-rich: Remove python-ipywidgets.

This is done to avoid unnecessary dependency cycles involving jupyter.

* gnu/packages/python-xyz.scm (python-rich)[arguments]: Disable some tests.
[propagated-inputs]: Remove python-ipywidgets.

Change-Id: I7a514ea7647086dc6f831c1167c28d145130cfa1
1 files changed, 16 insertions(+), 2 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +16 -2
@@ 20747,8 20747,22 @@ representation.")
         (base32
          "0qyhw2vvk17qdmfrmi45z4dd0fkwx3l2qrf3iy0yc2y7pfgrmg9g"))))
    (build-system pyproject-build-system)
    (propagated-inputs
     (list python-ipywidgets python-markdown-it-py python-pygments))
    (arguments
     (list
      #:test-flags
      ;; These fail for unknown reasons, but the results look identical.
      ;; Perhaps only the terminal escape sequences are superficially
      ;; different?
      '(list "-k" (string-append "not test_card_render"
                                 " and not test_markdown_render"
                                 " and not test_python_render"
                                 " and not test_python_render_simple"
                                 " and not test_python_render_simple_passing_lexer_instance"
                                 " and not test_python_render_indent_guides"
                                 " and not test_option_no_wrap"
                                 " and not test_syntax_highlight_ranges"))))
    (propagated-inputs
     (list python-markdown-it-py python-pygments))
    (native-inputs
     (list python-poetry-core python-pytest))
    (home-page "https://github.com/willmcgugan/rich")