From 1cbe0d7db60b28f985b0085210dc961b31b86284 Mon Sep 17 00:00:00 2001 From: Vinicius Monego Date: Sun, 22 Jun 2025 13:53:23 -0300 Subject: [PATCH] gnu: python-textual: Update to 3.5.0. * gnu/packages/python-xyz.scm (python-textual): Update to 3.5.0. [arguments]<#:test-flags>: Update failing tests. [propagated-inputs]: Remove python-mdit-py-plugins. Add python-platformdirs. [native-inputs]: Add python-pytest-xdist. Change-Id: I7ff7d663e223da8b7ff924a863a419be11bd478e --- gnu/packages/python-xyz.scm | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index a0fc9ba2e09c2dfa6f69dd656f3914caf03f33b5..0e3305ae2bacaabc9b9a82e2e8cb49ba1f41e86f 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -21853,7 +21853,7 @@ customization required.") (define-public python-textual (package (name "python-textual") - (version "0.50.1") + (version "3.5.0") (source (origin (method git-fetch) (uri (git-reference @@ -21862,7 +21862,7 @@ customization required.") (file-name (git-file-name name version)) (sha256 (base32 - "10mmmgsq5pblr9ijgyln79p3hc7sah56k2hkzlvm2abrr9gwgpcf")))) + "1sldkhy8phk9c7pln70dyb6aya7qpxb5niym9s91z144dv6ykgws")))) (build-system pyproject-build-system) (arguments (list #:test-flags @@ -21873,18 +21873,29 @@ customization required.") ;; Broken for unknown reason. "not test_textual_env_var" ;; Tests that require python-treesitter-languages. - " and not test_language_binary_missing" + " and not test_widget_construct" + " and not test_setting_builtin_language_via_constructor" + " and not test_setting_builtin_language_via_attribute" + " and not test_setting_language_to_none" + " and not test_setting_unknown_language" " and not test_register_language" - " and not test_register_language_existing_language")))) + " and not test_update_highlight_query" + " and not test_default_theme" + " and not test_setting_builtin_themes" + " and not test_setting_unknown_theme_raises_exception" + " and not test_registering_and_setting_theme")))) (propagated-inputs (list python-markdown-it-py - python-mdit-py-plugins + python-platformdirs python-rich python-tree-sitter ;; python-tree-sitter-languages ; optional, not packed yet python-typing-extensions)) (native-inputs - (list python-poetry-core python-pytest python-pytest-asyncio)) + (list python-poetry-core + python-pytest + python-pytest-asyncio + python-pytest-xdist)) (home-page "https://github.com/Textualize/textual") (synopsis "Build text user interfaces in Python") (description "Textual is a @acronym{TUI, Text User Interface} framework