[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
25/361: gnu: python-textual: Update to 0.50.1.
From: |
guix-commits |
Subject: |
25/361: gnu: python-textual: Update to 0.50.1. |
Date: |
Fri, 22 Nov 2024 06:00:05 -0500 (EST) |
andreas pushed a commit to branch python-team
in repository guix.
commit d1989b1acade481ee693ea40638d9eab6d130d93
Author: Felix Gruber <felgru@posteo.net>
AuthorDate: Tue Feb 13 14:15:42 2024 +0000
gnu: python-textual: Update to 0.50.1.
* gnu/packages/python-xyz.scm (python-textual): Update to 0.50.1.
[source]: Download from github as pypi package does not include tests.
[build-system]: Change to pyproject-build-system.
[arguments]: Remove custom 'check phase; add #:test-flags to disable
broken tests.
[propagated-inputs]: Add python-markdown-it-py, python-mdit-py-plugins
and python-tree-sitter.
[native-inputs]: Add python-poetry-core and python-pytest-asyncio.
Change-Id: Ib144dc87f73e91d4c9d2e8f91ce6ce7a86a481a9
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
---
gnu/packages/python-xyz.scm | 47 ++++++++++++++++++++++-----------------------
1 file changed, 23 insertions(+), 24 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 630520510e..8112fae301 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -286,6 +286,7 @@
#:use-module (gnu packages textutils)
#:use-module (gnu packages time)
#:use-module (gnu packages tls)
+ #:use-module (gnu packages tree-sitter)
#:use-module (gnu packages version-control)
#:use-module (gnu packages video)
#:use-module (gnu packages web)
@@ -20626,20 +20627,8 @@ customization required.")
(define-public python-textual
(package
(name "python-textual")
- (version "0.1.18")
+ (version "0.50.1")
(source (origin
- (method url-fetch)
- (uri (pypi-uri "textual" version))
- (sha256
- (base32
- "08yg5a51hz1axfj5hx28hx31gq5apcj6vpkkmawmiplisa73z25j"))))
- (build-system python-build-system)
- (arguments
- (let ((tests
- ;; The release on pypi comes without tests. We can't build
- ;; from this checkout, though, because installation requires
- ;; an invocation of poetry.
- (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/Textualize/textual")
@@ -20647,19 +20636,29 @@ customization required.")
(file-name (git-file-name name version))
(sha256
(base32
- "0b3ycwqhp21mg9fvmadgxhgbvkwq6fd784l2xcmvy77rravrnnax")))))
- (list #:phases
- #~(modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- (copy-recursively #$(file-append tests "/tests")
- "tests")
- (invoke "python" "-m" "pytest" "-vv"))))))))
+ "10mmmgsq5pblr9ijgyln79p3hc7sah56k2hkzlvm2abrr9gwgpcf"))))
+ (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"
+ "-k" (string-append
+ ;; Broken for unknown reason.
+ "not test_textual_env_var"
+ ;; Tests that require python-treesitter-languages.
+ " and not test_language_binary_missing"
+ " and not test_register_language"
+ " and not test_register_language_existing_language"))))
(propagated-inputs
- (list python-rich python-typing-extensions))
+ (list python-markdown-it-py
+ python-mdit-py-plugins
+ python-rich
+ python-tree-sitter
+ ;; python-tree-sitter-languages ; optional, not packed yet
+ python-typing-extensions))
(native-inputs
- (list python-pytest))
+ (list python-poetry-core python-pytest python-pytest-asyncio))
(home-page "https://github.com/Textualize/textual")
(synopsis "Build text user interfaces in Python")
(description "Textual is a @acronym{TUI, Text User Interface} framework
- 19/361: gnu: Add setuptools/wheel to more Python packages., (continued)
- 19/361: gnu: Add setuptools/wheel to more Python packages., guix-commits, 2024/11/22
- 23/361: gnu: python-rich: Update to 13.7.0., guix-commits, 2024/11/22
- 50/361: gnu: python-billiard: Add missing inputs., guix-commits, 2024/11/22
- 03/361: gnu: python-sphinx-alabaster-theme: Update to 0.7.13., guix-commits, 2024/11/22
- 08/361: gnu: sssd: Import ensure-no-mtimes-pre-1980., guix-commits, 2024/11/22
- 06/361: build-system/python: Ignore symlinks when changing mtime., guix-commits, 2024/11/22
- 16/361: gnu: Add missing import (again)., guix-commits, 2024/11/22
- 18/361: gnu: python-typing-extensions: Update to 4.10.0., guix-commits, 2024/11/22
- 27/361: gnu: python-lightning-cloud: Disable tests., guix-commits, 2024/11/22
- 26/361: gnu: python-myst-parser: Relax some requirements., guix-commits, 2024/11/22
- 25/361: gnu: python-textual: Update to 0.50.1.,
guix-commits <=
- 29/361: gnu: python-argcomplete: Update to 3.2.2., guix-commits, 2024/11/22
- 32/361: gnu: python-ipython: Update to 8.22.1., guix-commits, 2024/11/22
- 36/361: gnu: python-readme-renderer: Adjust package style., guix-commits, 2024/11/22
- 38/361: gnu: python-argcomplete: Add missing input., guix-commits, 2024/11/22
- 41/361: gnu: python-pycurl: Add missing inputs., guix-commits, 2024/11/22
- 45/361: gnu: python-mistletoe: Add missing inputs., guix-commits, 2024/11/22
- 40/361: gnu: java-testng: Disable one test., guix-commits, 2024/11/22
- 39/361: gnu: java-testng: Drop input labels., guix-commits, 2024/11/22
- 42/361: gnu: python-pynacl: Add missing inputs., guix-commits, 2024/11/22
- 51/361: gnu: python-partd: Add missing input., guix-commits, 2024/11/22