guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

63/361: gnu: python-rich: Remove python-ipywidgets.


From: guix-commits
Subject: 63/361: gnu: python-rich: Remove python-ipywidgets.
Date: Thu, 21 Nov 2024 06:28:50 -0500 (EST)

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

commit 70e80ab85c7296eaa54f60ca995e65febfea7150
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue May 7 13:10:03 2024 +0200

    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
---
 gnu/packages/python-xyz.scm | 18 ++++++++++++++++--
 1 file changed, 16 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d7f14f3159..0e2fd6b848 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -20658,8 +20658,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";)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]