summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2026-01-27 11:16:06 +0100
committerAndreas Enge <andreas@enge.fr>2026-02-07 12:28:45 +0100
commit0dba6968654a74f90e3fa4dfda0d2bdc09201c6a (patch)
tree8644fa0e7a2ebb3ec9faacbc339c32b7fc6eeb19 /gnu
parent8a84a30fbf17e0a2c081f66f89555ecaf3ad32b7 (diff)
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>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python-build.scm1
-rw-r--r--gnu/packages/python-xyz.scm24
2 files changed, 18 insertions, 7 deletions
diff --git a/gnu/packages/python-build.scm b/gnu/packages/python-build.scm
index d627522651a..31b21bb57c4 100644
--- a/gnu/packages/python-build.scm
+++ b/gnu/packages/python-build.scm
@@ -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
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 1ade9b9b83c..1376909626f 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -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