1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

gnu: python-textual: Update to 7.4.0.

* gnu/packages/python-build.scm (python-textual): Update to 7.4.0.
[arguments]<#:test-flags>: Align style.
<#:phases>: Add phase 'relax-requirements.
[propagated-inputs]: Add python-mdit-py-plugins.
* gnu/packages/python-xyz.scm : Add comment.

Change-Id: I064dd81b81568526c986f8dd667b693b5a22e32c
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves
2026-01-27 11:16:06 +01:00
committed by Andreas Enge
parent 8a84a30fbf
commit 0dba696865
2 changed files with 18 additions and 7 deletions

View File

@@ -375,6 +375,7 @@ write-only counterpart to Tomli, which is a read-only TOML parser.")
(define-public python-pygments
(package
(name "python-pygments")
;; XXX: When updating, drop python-textual 'relax-requirements phase.
(version "2.19.1")
(source
(origin

View File

@@ -36965,7 +36965,7 @@ tables.")
(define-public python-textual
(package
(name "python-textual")
(version "3.5.0")
(version "7.4.0")
(source
(origin
(method git-fetch)
@@ -36974,13 +36974,14 @@ tables.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1sldkhy8phk9c7pln70dyb6aya7qpxb5niym9s91z144dv6ykgws"))))
(base32 "0xnfb8g0p66f6i4kzd6l2y2cp1pm33la1rj0hbdws72j5rcpq0nv"))))
(build-system pyproject-build-system)
(arguments
(list #:test-flags
;; Snapshot tests require python-pytest-textual-snapshot which
;; in turn depends on python-textual.
'(list "--ignore=tests/snapshot_tests/test_snapshots.py"
(list
#:test-flags
;; Snapshot tests require python-pytest-textual-snapshot which
;; in turn depends on python-textual.
'(list "--ignore=tests/snapshot_tests/test_snapshots.py"
"-k" (string-append
;; Broken for unknown reason.
"not test_textual_env_var"
@@ -36995,9 +36996,18 @@ tables.")
" 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"))))
" and not test_registering_and_setting_theme"
" and not test_progress_bar_width_1fr"))
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'relax-requirements
(lambda _
(substitute* "pyproject.toml"
(("pygments =.*")
"pygments = \"*\"\n")))))))
(propagated-inputs
(list python-markdown-it-py
python-mdit-py-plugins
python-platformdirs
python-rich
python-tree-sitter