[PATCH 0/5] Update python-textual to 0.46.0.

  • Done
  • quality assurance status badge
Details
3 participants
  • Felix Gruber
  • Ricardo Wurmus
  • Sharlatan Hellseher
Owner
unassigned
Submitted by
Felix Gruber
Severity
normal
F
F
Felix Gruber wrote on 2 Jan 16:03 +0100
(address . guix-patches@gnu.org)(name . Felix Gruber)(address . felgru@posteo.net)
cover.1704207105.git.felgru@posteo.net
Felix Gruber (5):
gnu: python-markdown-it-py: Update to 3.0.0.
gnu: python-mdit-py-plugins: Update to 0.4.0.
gnu: Add python-pygments-next.
gnu: python-rich: Update to 13.7.0.
gnu: python-textual: Update to 0.46.0.

gnu/packages/python-xyz.scm | 134 ++++++++++++++++++------------------
1 file changed, 68 insertions(+), 66 deletions(-)


base-commit: 8f03c69b428923dc4d51cda23b10aa7fa7d89f05
--
2.41.0
F
F
Felix Gruber wrote on 2 Jan 16:05 +0100
[PATCH 1/5] gnu: python-markdown-it-py: Update to 3.0.0.
(address . 68207@debbugs.gnu.org)(name . Felix Gruber)(address . felgru@posteo.net)
a1b0aedd41d4a4be7a7d21f73b5f42dd5aaee4da.1704207105.git.felgru@posteo.net
* gnu/packages/python-xyz.scm (python-markdown-it-py): Update to 3.0.0.
[propagated-inputs]: Remove python-typing-extensions; add python-commonmark,
python-linkify-it-py, python-markdown, python-mistletoe,
python-mistune, python-panflute, python-psutil, and python-pyyaml.
[native-inputs]: Remove python-flit; add python-flit-core.

Change-Id: I5dc06b163ddbec0a32a9d7c3da2c834b2e74cd74
---
gnu/packages/python-xyz.scm | 17 ++++++++++++-----
1 file changed, 12 insertions(+), 5 deletions(-)

Toggle diff (38 lines)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 2afce6c667..3894f77f2e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -5482,19 +5482,26 @@ (define-public python-makefun
(define-public python-markdown-it-py
(package
(name "python-markdown-it-py")
- (version "2.1.0")
+ (version "3.0.0")
(source (origin
(method url-fetch)
(uri (pypi-uri "markdown-it-py" version))
(sha256
(base32
- "1nh75i72584r70alhqc479gys04s5m5g3vq601yf2njbs7z5jzng"))))
+ "1swgvyiavak0nmfb31lq5zck5chwhmyf6qb6qwpcav86zaa0mxp3"))))
(build-system pyproject-build-system)
(arguments (list #:tests? #f)) ;pypi source does not contains tests
- (native-inputs (list python-flit))
+ (native-inputs (list python-flit-core))
(propagated-inputs
- (list python-mdurl
- python-typing-extensions))
+ (list python-commonmark
+ python-linkify-it-py
+ python-markdown
+ python-mdurl
+ python-mistletoe
+ python-mistune
+ python-panflute
+ python-psutil
+ python-pyyaml))
(home-page "https://github.com/executablebooks/markdown-it-py")
(synopsis "Python port of markdown-it")
(description
--
2.41.0
F
F
Felix Gruber wrote on 2 Jan 16:05 +0100
[PATCH 2/5] gnu: python-mdit-py-plugins: Update to 0.4.0.
(address . 68207@debbugs.gnu.org)(name . Felix Gruber)(address . felgru@posteo.net)
9dba6ff24601d066995fd9825ae604e836e0ad64.1704207105.git.felgru@posteo.net
* gnu/packages/python-xyz.scm (python-mdit-py-plugins): Update to 0.4.0.

Change-Id: I18ca46abebe125d1a6729c10a3f4fa4a62a145ba
---
gnu/packages/python-xyz.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (24 lines)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 3894f77f2e..d4f4766c5b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -910,7 +910,7 @@ (define-public python-lunr
(define-public python-mdit-py-plugins
(package
(name "python-mdit-py-plugins")
- (version "0.3.1")
+ (version "0.4.0")
(source (origin
(method git-fetch) ;for tests
(uri (git-reference
@@ -919,7 +919,7 @@ (define-public python-mdit-py-plugins
(file-name (git-file-name name version))
(sha256
(base32
- "00ybbfb6dzn9q5qnvnm8bmhd84s215ik7pcdb4r35zhwiv2ikizz"))))
+ "1790fcf3nd9c5j37fx87x3ivfyihk6l74jxj1qxvw3qfyb96w4k0"))))
(build-system pyproject-build-system)
(propagated-inputs
(list python-markdown-it-py
--
2.41.0
F
F
Felix Gruber wrote on 2 Jan 16:05 +0100
[PATCH 3/5] gnu: Add python-pygments-next.
(address . 68207@debbugs.gnu.org)(name . Felix Gruber)(address . felgru@posteo.net)
36515d2ec085b5ebde02e665eef0cc005168aca9.1704207105.git.felgru@posteo.net
* gnu/packages/python-xyz.scm (python-pygments-next): New variable.

Change-Id: I12e3e0d6042f34e0375bcbb1dc90ccc9ed9ce050
---
gnu/packages/python-xyz.scm | 15 +++++++++++++++
1 file changed, 15 insertions(+)

Toggle diff (28 lines)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d4f4766c5b..d0a8f900b3 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -6189,6 +6189,21 @@ (define-public python-pygments
"Pygments is a syntax highlighting package written in Python.")
(license license:bsd-2)))
+(define-public python-pygments-next
+ (package
+ (inherit python-pygments)
+ (name "python-pygments-next")
+ (version "2.17.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pygments" version))
+ (sha256
+ (base32
+ "0ry3qi4rszkiqb20bmjlzys71dja9i746kvqi8xbxr9dzp4wwins"))))
+ (build-system pyproject-build-system)
+ (native-inputs (list python-hatchling))))
+
(define-public python-pygments-github-lexers
(package
(name "python-pygments-github-lexers")
--
2.41.0
F
F
Felix Gruber wrote on 2 Jan 16:05 +0100
[PATCH 4/5] gnu: python-rich: Update to 13.7.0.
(address . 68207@debbugs.gnu.org)(name . Felix Gruber)(address . felgru@posteo.net)
b454c1acbe89b7541bf618b591a64d0bef82a797.1704207105.git.felgru@posteo.net
* gnu/packages/python-xyz.scm (python-rich): Update to 13.7.0.
[source]: Use git-fetch since pypi package doesn't include tests.
[build-system]: Use pyproject-build-system.
[arguments]: Remove custom 'check phase.
[propagated-inputs]: Remove python-attrs, python-colorama,
python-commonmark and python-typingextensions; add
python-ipywidgets and python-markdown-it-py; replace python-pygments
with python-pygments-next.
[native-inputs]: Add python-poetry-core; remove tests (which are now
included in new [source]).

Change-Id: I15f7928fc376d8c2556ca2965fe44453bd15f248
---
gnu/packages/python-xyz.scm | 49 ++++++++++++-------------------------
1 file changed, 15 insertions(+), 34 deletions(-)

Toggle diff (64 lines)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d0a8f900b3..25f123e904 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -18360,42 +18360,23 @@ (define-public python-slugid
(define-public python-rich
(package
(name "python-rich")
- (version "12.4.1")
- (source (origin
- (method url-fetch)
- (uri (pypi-uri "rich" version))
- (sha256
- (base32
- "149vjb4cpf9mz14iig0b6d8065dm8aslp6pc45g9ipmp1wf00ffj"))))
- (build-system python-build-system)
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key inputs tests? #:allow-other-keys)
- (when tests?
- (copy-recursively (string-append
- (assoc-ref inputs "tests") "/tests")
- "tests")
- (invoke "python" "-m" "pytest" "-vv")))))))
+ (version "13.7.0")
+ (source
+ (origin
+ ;; There are no tests in the PyPI tarball.
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/willmcgugan/rich")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0qyhw2vvk17qdmfrmi45z4dd0fkwx3l2qrf3iy0yc2y7pfgrmg9g"))))
+ (build-system pyproject-build-system)
(propagated-inputs
- (list python-attrs python-colorama python-commonmark python-pygments
- python-typing-extensions))
+ (list python-ipywidgets python-markdown-it-py python-pygments-next))
(native-inputs
- `(("python-pytest" ,python-pytest)
- ("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/willmcgugan/rich")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "17c3gljn8zv32xnpsgd3fqgqn4r7cdfqri41hridcpbhssdgkyp9"))))))
+ (list python-poetry-core python-pytest))
(home-page "https://github.com/willmcgugan/rich")
(synopsis "Render rich text and more to the terminal")
(description
--
2.41.0
F
F
Felix Gruber wrote on 2 Jan 16:05 +0100
[PATCH 5/5] gnu: python-textual: Update to 0.46.0.
(address . 68207@debbugs.gnu.org)(name . Felix Gruber)(address . felgru@posteo.net)
53384cb0d1e11adc472c0e763b91860c2365faaf.1704207105.git.felgru@posteo.net
* gnu/packages/python-xyz.scm (python-textual): Update to 0.46.0.
[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
---
gnu/packages/python-xyz.scm | 49 ++++++++++++++++++-------------------
1 file changed, 24 insertions(+), 25 deletions(-)

Toggle diff (86 lines)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 25f123e904..3a4681a25f 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -108,7 +108,7 @@
;;; Copyright © 2021 Simon Streit <simon@netpanic.org>
;;; Copyright © 2021, 2022, 2023 Daniel Meißner <daniel.meissner-i4k@ruhr-uni-bochum.de>
;;; Copyright © 2021, 2022 Pradana Aumars <paumars@courrier.dev>
-;;; Copyright © 2021, 2022, 2023 Felix Gruber <felgru@posteo.net>
+;;; Copyright © 2021–2024 Felix Gruber <felgru@posteo.net>
;;; Copyright © 2021 Sébastien Lerique <sl@eauchat.org>
;;; Copyright © 2021 Raphaël Mélotte <raphael.melotte@mind.be>
;;; Copyright © 2021 ZmnSCPxj <ZmnSCPxj@protonmail.com>
@@ -264,6 +264,7 @@ (define-module (gnu packages python-xyz)
#: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)
@@ -18410,20 +18411,8 @@ (define-public python-rich-click
(define-public python-textual
(package
(name "python-textual")
- (version "0.1.18")
+ (version "0.46.0")
(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")
@@ -18431,19 +18420,29 @@ (define-public python-textual
(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"))))))))
+ "0gjlmr1908va9m13333iq4il1gs8r4m8qrxhc49iyfy9m4xbml0v"))))
+ (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_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
+ 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
--
2.41.0
F
F
Felix Gruber wrote on 12 Feb 18:55 +0100
[PATCH v2 2/5] gnu: python-mdit-py-plugins: Update to 0.4.0.
(address . 68207@debbugs.gnu.org)(name . Felix Gruber)(address . felgru@posteo.net)
c757ca60bbd697df58cb19e5d565577fce7be82c.1707760530.git.felgru@posteo.net
* gnu/packages/python-xyz.scm (python-mdit-py-plugins): Update to 0.4.0.

Change-Id: I18ca46abebe125d1a6729c10a3f4fa4a62a145ba
---
gnu/packages/python-xyz.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (24 lines)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 6a28836acf..30f6f1fb3e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -1124,7 +1124,7 @@ (define-public python-lunr
(define-public python-mdit-py-plugins
(package
(name "python-mdit-py-plugins")
- (version "0.3.1")
+ (version "0.4.0")
(source (origin
(method git-fetch) ;for tests
(uri (git-reference
@@ -1133,7 +1133,7 @@ (define-public python-mdit-py-plugins
(file-name (git-file-name name version))
(sha256
(base32
- "00ybbfb6dzn9q5qnvnm8bmhd84s215ik7pcdb4r35zhwiv2ikizz"))))
+ "1790fcf3nd9c5j37fx87x3ivfyihk6l74jxj1qxvw3qfyb96w4k0"))))
(build-system pyproject-build-system)
(propagated-inputs
(list python-markdown-it-py
--
2.43.0
F
F
Felix Gruber wrote on 12 Feb 18:55 +0100
[PATCH v2 4/5] gnu: python-rich: Update to 13.7.0.
(address . 68207@debbugs.gnu.org)(name . Felix Gruber)(address . felgru@posteo.net)
79d48325bffd9be3265645d9805ace6801235376.1707760530.git.felgru@posteo.net
* gnu/packages/python-xyz.scm (python-rich): Update to 13.7.0.
[source]: Use git-fetch since pypi package doesn't include tests.
[build-system]: Use pyproject-build-system.
[arguments]: Remove custom 'check phase.
[propagated-inputs]: Remove python-attrs, python-colorama,
python-commonmark and python-typingextensions; add
python-ipywidgets and python-markdown-it-py; replace python-pygments
with python-pygments-next.
[native-inputs]: Add python-poetry-core; remove tests (which are now
included in new [source]).

Change-Id: I15f7928fc376d8c2556ca2965fe44453bd15f248
---
gnu/packages/python-xyz.scm | 49 ++++++++++++-------------------------
1 file changed, 15 insertions(+), 34 deletions(-)

Toggle diff (64 lines)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index b3eed56d06..afd5caf541 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -19192,42 +19192,23 @@ (define-public python-slugid
(define-public python-rich
(package
(name "python-rich")
- (version "12.4.1")
- (source (origin
- (method url-fetch)
- (uri (pypi-uri "rich" version))
- (sha256
- (base32
- "149vjb4cpf9mz14iig0b6d8065dm8aslp6pc45g9ipmp1wf00ffj"))))
- (build-system python-build-system)
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key inputs tests? #:allow-other-keys)
- (when tests?
- (copy-recursively (string-append
- (assoc-ref inputs "tests") "/tests")
- "tests")
- (invoke "python" "-m" "pytest" "-vv")))))))
+ (version "13.7.0")
+ (source
+ (origin
+ ;; There are no tests in the PyPI tarball.
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/willmcgugan/rich")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0qyhw2vvk17qdmfrmi45z4dd0fkwx3l2qrf3iy0yc2y7pfgrmg9g"))))
+ (build-system pyproject-build-system)
(propagated-inputs
- (list python-attrs python-colorama python-commonmark python-pygments
- python-typing-extensions))
+ (list python-ipywidgets python-markdown-it-py python-pygments-next))
(native-inputs
- `(("python-pytest" ,python-pytest)
- ("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/willmcgugan/rich")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "17c3gljn8zv32xnpsgd3fqgqn4r7cdfqri41hridcpbhssdgkyp9"))))))
+ (list python-poetry-core python-pytest))
(home-page "https://github.com/willmcgugan/rich")
(synopsis "Render rich text and more to the terminal")
(description
--
2.43.0
F
F
Felix Gruber wrote on 12 Feb 18:55 +0100
[PATCH v2 5/5] gnu: python-textual: Update to 0.50.1.
(address . 68207@debbugs.gnu.org)(name . Felix Gruber)(address . felgru@posteo.net)
6898deb52f47658960781ab672e5d4b17c931672.1707760530.git.felgru@posteo.net
* 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
---
gnu/packages/python-xyz.scm | 49 ++++++++++++++++++-------------------
1 file changed, 24 insertions(+), 25 deletions(-)

Toggle diff (86 lines)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index afd5caf541..1d25ad6f8a 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -108,7 +108,7 @@
;;; Copyright © 2021 Simon Streit <simon@netpanic.org>
;;; Copyright © 2021, 2022, 2023 Daniel Meißner <daniel.meissner-i4k@ruhr-uni-bochum.de>
;;; Copyright © 2021, 2022 Pradana Aumars <paumars@courrier.dev>
-;;; Copyright © 2021, 2022, 2023 Felix Gruber <felgru@posteo.net>
+;;; Copyright © 2021–2024 Felix Gruber <felgru@posteo.net>
;;; Copyright © 2021 Sébastien Lerique <sl@eauchat.org>
;;; Copyright © 2021 Raphaël Mélotte <raphael.melotte@mind.be>
;;; Copyright © 2021 ZmnSCPxj <ZmnSCPxj@protonmail.com>
@@ -266,6 +266,7 @@ (define-module (gnu packages python-xyz)
#: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)
@@ -19242,20 +19243,8 @@ (define-public python-rich-click
(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")
@@ -19263,19 +19252,29 @@ (define-public python-textual
(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_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
+ 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
--
2.43.0
F
F
Felix Gruber wrote on 12 Feb 19:04 +0100
[PATCH v3 1/5] gnu: python-markdown-it-py: Update to 3.0.0.
(address . 68207@debbugs.gnu.org)(name . Felix Gruber)(address . felgru@posteo.net)
3dde90bba4e12c2b133376491f781ad5400739ea.1707761051.git.felgru@posteo.net
* gnu/packages/python-xyz.scm (python-markdown-it-py): Update to 3.0.0.
[propagated-inputs]: Remove python-typing-extensions; add python-commonmark,
python-linkify-it-py, python-markdown, python-mistletoe,
python-mistune, python-panflute, python-psutil, and python-pyyaml.
[native-inputs]: Remove python-flit; add python-flit-core.

Change-Id: I5dc06b163ddbec0a32a9d7c3da2c834b2e74cd74
---
gnu/packages/python-xyz.scm | 17 ++++++++++++-----
1 file changed, 12 insertions(+), 5 deletions(-)

Toggle diff (38 lines)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index a645c45a4c..6a28836acf 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -5881,19 +5881,26 @@ (define-public python-makefun
(define-public python-markdown-it-py
(package
(name "python-markdown-it-py")
- (version "2.1.0")
+ (version "3.0.0")
(source (origin
(method url-fetch)
(uri (pypi-uri "markdown-it-py" version))
(sha256
(base32
- "1nh75i72584r70alhqc479gys04s5m5g3vq601yf2njbs7z5jzng"))))
+ "1swgvyiavak0nmfb31lq5zck5chwhmyf6qb6qwpcav86zaa0mxp3"))))
(build-system pyproject-build-system)
(arguments (list #:tests? #f)) ;pypi source does not contains tests
- (native-inputs (list python-flit))
+ (native-inputs (list python-flit-core))
(propagated-inputs
- (list python-mdurl
- python-typing-extensions))
+ (list python-commonmark
+ python-linkify-it-py
+ python-markdown
+ python-mdurl
+ python-mistletoe
+ python-mistune
+ python-panflute
+ python-psutil
+ python-pyyaml))
(home-page "https://github.com/executablebooks/markdown-it-py")
(synopsis "Python port of markdown-it")
(description
--
2.43.0
F
F
Felix Gruber wrote on 12 Feb 19:04 +0100
[PATCH v3 2/5] gnu: python-mdit-py-plugins: Update to 0.4.0.
(address . 68207@debbugs.gnu.org)(name . Felix Gruber)(address . felgru@posteo.net)
c757ca60bbd697df58cb19e5d565577fce7be82c.1707761051.git.felgru@posteo.net
* gnu/packages/python-xyz.scm (python-mdit-py-plugins): Update to 0.4.0.

Change-Id: I18ca46abebe125d1a6729c10a3f4fa4a62a145ba
---
gnu/packages/python-xyz.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (24 lines)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 6a28836acf..30f6f1fb3e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -1124,7 +1124,7 @@ (define-public python-lunr
(define-public python-mdit-py-plugins
(package
(name "python-mdit-py-plugins")
- (version "0.3.1")
+ (version "0.4.0")
(source (origin
(method git-fetch) ;for tests
(uri (git-reference
@@ -1133,7 +1133,7 @@ (define-public python-mdit-py-plugins
(file-name (git-file-name name version))
(sha256
(base32
- "00ybbfb6dzn9q5qnvnm8bmhd84s215ik7pcdb4r35zhwiv2ikizz"))))
+ "1790fcf3nd9c5j37fx87x3ivfyihk6l74jxj1qxvw3qfyb96w4k0"))))
(build-system pyproject-build-system)
(propagated-inputs
(list python-markdown-it-py
--
2.43.0
F
F
Felix Gruber wrote on 12 Feb 19:04 +0100
[PATCH v3 3/5] gnu: Add python-pygments-next.
(address . 68207@debbugs.gnu.org)(name . Felix Gruber)(address . felgru@posteo.net)
82e83109c6208911b5e64cfe9571f37bbf57e82d.1707761051.git.felgru@posteo.net
* gnu/packages/python-xyz.scm (python-pygments-next): New variable.

Change-Id: I12e3e0d6042f34e0375bcbb1dc90ccc9ed9ce050
---
gnu/packages/python-xyz.scm | 15 +++++++++++++++
1 file changed, 15 insertions(+)

Toggle diff (28 lines)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 30f6f1fb3e..b3eed56d06 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -6588,6 +6588,21 @@ (define-public python-pygments
"Pygments is a syntax highlighting package written in Python.")
(license license:bsd-2)))
+(define-public python-pygments-next
+ (package
+ (inherit python-pygments)
+ (name "python-pygments-next")
+ (version "2.17.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pygments" version))
+ (sha256
+ (base32
+ "0ry3qi4rszkiqb20bmjlzys71dja9i746kvqi8xbxr9dzp4wwins"))))
+ (build-system pyproject-build-system)
+ (native-inputs (list python-hatchling))))
+
(define-public python-pygments-github-lexers
(package
(name "python-pygments-github-lexers")
--
2.43.0
F
F
Felix Gruber wrote on 12 Feb 19:04 +0100
[PATCH v3 5/5] gnu: python-textual: Update to 0.50.1.
(address . 68207@debbugs.gnu.org)(name . Felix Gruber)(address . felgru@posteo.net)
d73a7bf4965a3fa70a15f158d516e69bb85c66cf.1707761051.git.felgru@posteo.net
* 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
---
gnu/packages/python-xyz.scm | 50 ++++++++++++++++++-------------------
1 file changed, 25 insertions(+), 25 deletions(-)

Toggle diff (87 lines)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index afd5caf541..28992abb30 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -108,7 +108,7 @@
;;; Copyright © 2021 Simon Streit <simon@netpanic.org>
;;; Copyright © 2021, 2022, 2023 Daniel Meißner <daniel.meissner-i4k@ruhr-uni-bochum.de>
;;; Copyright © 2021, 2022 Pradana Aumars <paumars@courrier.dev>
-;;; Copyright © 2021, 2022, 2023 Felix Gruber <felgru@posteo.net>
+;;; Copyright © 2021–2024 Felix Gruber <felgru@posteo.net>
;;; Copyright © 2021 Sébastien Lerique <sl@eauchat.org>
;;; Copyright © 2021 Raphaël Mélotte <raphael.melotte@mind.be>
;;; Copyright © 2021 ZmnSCPxj <ZmnSCPxj@protonmail.com>
@@ -266,6 +266,7 @@ (define-module (gnu packages python-xyz)
#: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)
@@ -19242,20 +19243,8 @@ (define-public python-rich-click
(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")
@@ -19263,19 +19252,30 @@ (define-public python-textual
(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
+ 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
--
2.43.0
F
F
Felix Gruber wrote on 12 Feb 18:55 +0100
[PATCH v2 1/5] gnu: python-markdown-it-py: Update to 3.0.0.
(address . 68207@debbugs.gnu.org)(name . Felix Gruber)(address . felgru@posteo.net)
3dde90bba4e12c2b133376491f781ad5400739ea.1707760530.git.felgru@posteo.net
* gnu/packages/python-xyz.scm (python-markdown-it-py): Update to 3.0.0.
[propagated-inputs]: Remove python-typing-extensions; add python-commonmark,
python-linkify-it-py, python-markdown, python-mistletoe,
python-mistune, python-panflute, python-psutil, and python-pyyaml.
[native-inputs]: Remove python-flit; add python-flit-core.

Change-Id: I5dc06b163ddbec0a32a9d7c3da2c834b2e74cd74
---
gnu/packages/python-xyz.scm | 17 ++++++++++++-----
1 file changed, 12 insertions(+), 5 deletions(-)

Toggle diff (38 lines)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index a645c45a4c..6a28836acf 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -5881,19 +5881,26 @@ (define-public python-makefun
(define-public python-markdown-it-py
(package
(name "python-markdown-it-py")
- (version "2.1.0")
+ (version "3.0.0")
(source (origin
(method url-fetch)
(uri (pypi-uri "markdown-it-py" version))
(sha256
(base32
- "1nh75i72584r70alhqc479gys04s5m5g3vq601yf2njbs7z5jzng"))))
+ "1swgvyiavak0nmfb31lq5zck5chwhmyf6qb6qwpcav86zaa0mxp3"))))
(build-system pyproject-build-system)
(arguments (list #:tests? #f)) ;pypi source does not contains tests
- (native-inputs (list python-flit))
+ (native-inputs (list python-flit-core))
(propagated-inputs
- (list python-mdurl
- python-typing-extensions))
+ (list python-commonmark
+ python-linkify-it-py
+ python-markdown
+ python-mdurl
+ python-mistletoe
+ python-mistune
+ python-panflute
+ python-psutil
+ python-pyyaml))
(home-page "https://github.com/executablebooks/markdown-it-py")
(synopsis "Python port of markdown-it")
(description
--
2.43.0
F
F
Felix Gruber wrote on 12 Feb 19:04 +0100
[PATCH v3 4/5] gnu: python-rich: Update to 13.7.0.
(address . 68207@debbugs.gnu.org)(name . Felix Gruber)(address . felgru@posteo.net)
79d48325bffd9be3265645d9805ace6801235376.1707761051.git.felgru@posteo.net
* gnu/packages/python-xyz.scm (python-rich): Update to 13.7.0.
[source]: Use git-fetch since pypi package doesn't include tests.
[build-system]: Use pyproject-build-system.
[arguments]: Remove custom 'check phase.
[propagated-inputs]: Remove python-attrs, python-colorama,
python-commonmark and python-typingextensions; add
python-ipywidgets and python-markdown-it-py; replace python-pygments
with python-pygments-next.
[native-inputs]: Add python-poetry-core; remove tests (which are now
included in new [source]).

Change-Id: I15f7928fc376d8c2556ca2965fe44453bd15f248
---
gnu/packages/python-xyz.scm | 49 ++++++++++++-------------------------
1 file changed, 15 insertions(+), 34 deletions(-)

Toggle diff (64 lines)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index b3eed56d06..afd5caf541 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -19192,42 +19192,23 @@ (define-public python-slugid
(define-public python-rich
(package
(name "python-rich")
- (version "12.4.1")
- (source (origin
- (method url-fetch)
- (uri (pypi-uri "rich" version))
- (sha256
- (base32
- "149vjb4cpf9mz14iig0b6d8065dm8aslp6pc45g9ipmp1wf00ffj"))))
- (build-system python-build-system)
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key inputs tests? #:allow-other-keys)
- (when tests?
- (copy-recursively (string-append
- (assoc-ref inputs "tests") "/tests")
- "tests")
- (invoke "python" "-m" "pytest" "-vv")))))))
+ (version "13.7.0")
+ (source
+ (origin
+ ;; There are no tests in the PyPI tarball.
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/willmcgugan/rich")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0qyhw2vvk17qdmfrmi45z4dd0fkwx3l2qrf3iy0yc2y7pfgrmg9g"))))
+ (build-system pyproject-build-system)
(propagated-inputs
- (list python-attrs python-colorama python-commonmark python-pygments
- python-typing-extensions))
+ (list python-ipywidgets python-markdown-it-py python-pygments-next))
(native-inputs
- `(("python-pytest" ,python-pytest)
- ("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/willmcgugan/rich")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "17c3gljn8zv32xnpsgd3fqgqn4r7cdfqri41hridcpbhssdgkyp9"))))))
+ (list python-poetry-core python-pytest))
(home-page "https://github.com/willmcgugan/rich")
(synopsis "Render rich text and more to the terminal")
(description
--
2.43.0
F
F
Felix Gruber wrote on 12 Feb 18:55 +0100
[PATCH v2 0/5] Update python-textual to 0.50.1.
(address . 68207@debbugs.gnu.org)(name . Felix Gruber)(address . felgru@posteo.net)
cover.1707760530.git.felgru@posteo.net
v2 of the patchset updates python-textual to 0.50.1 instead of 0.46.0. I
had to disable one more broken test in python-textual. The rest of the
commits remain unchanged.

Felix Gruber (5):
gnu: python-markdown-it-py: Update to 3.0.0.
gnu: python-mdit-py-plugins: Update to 0.4.0.
gnu: Add python-pygments-next.
gnu: python-rich: Update to 13.7.0.
gnu: python-textual: Update to 0.50.1.

gnu/packages/python-xyz.scm | 134 ++++++++++++++++++------------------
1 file changed, 68 insertions(+), 66 deletions(-)


base-commit: bb92a4d7bc71197a51eea9075387c5313f299085
--
2.43.0
F
F
Felix Gruber wrote on 12 Feb 19:04 +0100
[PATCH v3 0/5] Update python-textual to 0.50.1.
(address . 68207@debbugs.gnu.org)(name . Felix Gruber)(address . felgru@posteo.net)
cover.1707761051.git.felgru@posteo.net
The last version of the patchset was missing a line to disable a new
broken test in python-textual.

Felix Gruber (5):
gnu: python-markdown-it-py: Update to 3.0.0.
gnu: python-mdit-py-plugins: Update to 0.4.0.
gnu: Add python-pygments-next.
gnu: python-rich: Update to 13.7.0.
gnu: python-textual: Update to 0.50.1.

gnu/packages/python-xyz.scm | 135 ++++++++++++++++++------------------
1 file changed, 69 insertions(+), 66 deletions(-)


base-commit: bb92a4d7bc71197a51eea9075387c5313f299085
--
2.43.0
F
F
Felix Gruber wrote on 12 Feb 18:55 +0100
[PATCH v2 3/5] gnu: Add python-pygments-next.
(address . 68207@debbugs.gnu.org)(name . Felix Gruber)(address . felgru@posteo.net)
82e83109c6208911b5e64cfe9571f37bbf57e82d.1707760530.git.felgru@posteo.net
* gnu/packages/python-xyz.scm (python-pygments-next): New variable.

Change-Id: I12e3e0d6042f34e0375bcbb1dc90ccc9ed9ce050
---
gnu/packages/python-xyz.scm | 15 +++++++++++++++
1 file changed, 15 insertions(+)

Toggle diff (28 lines)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 30f6f1fb3e..b3eed56d06 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -6588,6 +6588,21 @@ (define-public python-pygments
"Pygments is a syntax highlighting package written in Python.")
(license license:bsd-2)))
+(define-public python-pygments-next
+ (package
+ (inherit python-pygments)
+ (name "python-pygments-next")
+ (version "2.17.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pygments" version))
+ (sha256
+ (base32
+ "0ry3qi4rszkiqb20bmjlzys71dja9i746kvqi8xbxr9dzp4wwins"))))
+ (build-system pyproject-build-system)
+ (native-inputs (list python-hatchling))))
+
(define-public python-pygments-github-lexers
(package
(name "python-pygments-github-lexers")
--
2.43.0
S
S
Sharlatan Hellseher wrote on 13 Feb 15:13 +0100
[PATCH 0/5] Update python-textual to 0.46.0.
(address . 68207@debbugs.gnu.org)(address . felgru@posteo.net)
87zfw4pi49.fsf@gmail.com
Hi Felix,

Thank you for the patches!

I've applied v3 on my local checkout, it passed lint and build. It
looks good for me

Some of the packages were failed to build after patches are applied,
I've adjusted some of them (relax requirement, bump versions, disable
more failing tests). Changes included in v4 of the series.

This update is quite expensive as it trigger rebuild of python-scipy.

Toggle snippet (48 lines)
./pre-inst-env guix refresh --list-dependent python-textual python-rich python-pygments-next python-mdit-py-plugins python-markdown-it-py

Building the following 124 packages would ensure 301 dependent packages
are rebuilt: python-vaex-core@4.13.0 python-enoslib@8.0.1 httpie@3.2.1
pelican@4.7.2 python-textual@0.50.1 pigx-sars-cov-2@0.0.9
trinityrnaseq@2.13.2 python-pynbody@1.5.2 checkm@1.1.3
python-vireosnp@0.5.7 python-ete3@3.1.3 python-hclust2@1.0.0
python-pairtools@1.0.2 flair@1.6.4 umi-tools@1.0.0 python-plastid@0.6.1
python-cmseq@1.0.4 tombo@1.5.1 pigx@0.0.3 variant-tools@3.1.2
python-metpy@1.6.1 python-cartopy@0.22.0 python-graph-tool@2.59
python-iml@0.6.2 pitivi@2022.06.0 perl-cworld-dekker@1.01
ciri-long@1.0.2 python-biofluff@3.0.4 tadbit@1.0.1-1.5c4c1dd
clipper@2.0.1 tbsp@1.0.0-2.dc30c03 python-iced@0.5.8
python-velocyto@0.17.17 nanopolish@0.14.0 python-cleanlab@2.2.0
python-gpytorch@1.11 python-mapie@0.8.2 lightgbm@2.0.12
python-funsor@0.4.5 python-bbknn@1.6.0 python-fasttext@0.9.2
python-xgboost@1.5.2 python-ripser@0.6.4 python-hdbscan@0.8.33
python-scikit-learn-extra@0.3.0-1.0f95d8d python-scikit-rebate@0.62
python-scanorama@1.7.2 python-deepdish@0.3.7 python-scikit-allel@1.3.5
python-gpy@1.10.0 python-pyts@0.13.0 python-deepxde@1.10.1
python-modin@0.15.1 python-salib@1.4.7 cura@4.13.1
python-pyjanitor@0.26.0 python-scikit-opt@0.6.6 python-astroalign@2.5.1
python-cooltools@0.5.1 python-jwst@1.12.5 python-scikit-fuzzy@0.4.2
python-pandera@0.17.2 python-pysnptools@0.4.11 python-baltica@1.1.2
python-biom-format@2.1.12 python-magic-impute@1.2.1
python-numpy-documentation@1.23.2 cnvkit@0.9.10 python-cesium@0.12.1
python-scikit-rf@0.31.0 orange@3.32.0 python-pydub@0.25.1
python-matplotlib-venn@0.11.5 python-matplotlib-documentation@3.8.2
python-hicexplorer@3.7.2 font-cozette@1.13.0 nototools@0.2.16 gnome@42.4
mate@1.26.1 python-statmake@0.6.0 font-amiri@1.000 weasyprint@56.1
python-sparse@0.14.0 qspectrumanalyzer@2.1.0 gr-satellites@4.6.0
gqrx@2.17.3 urh@2.9.4 gnss-sdr@0.0.17 gr-dsd@1.0.0-0.f9b9936
nanovna-saver@0.5.3 python-dolfin-adjoint@2019.1.0
python-commonroad-route-planner@2022.3 python-pymc@5.10.3
python-goatools@1.3.1 python-poliastro@0.17.0
python-pytorch-geometric@2.4.0 python-fanc@0.9.25 python-pyani@0.2.12
stpipeline@1.8.1 python-bulkvis@2.0.0-2.00a82a9 python-phylophlan@3.0.3
instrain@1.5.4 scregseg@0.1.3 python-multivelo@0.1.2 python-ikarus@0.0.2
r-doubletcollection@1.1.0-1.c0d62f1 fanc@0-1.354401e
python-demuxem@0.1.7 python-episcanpy@0.4.0 python-liana-py@0.1.9
python-cellbender@0.2.2 python-pingouin@0.5.2 python-statannot@0.2.3
python-openturns@1.21.3 python-spacy@3.5.3 python-pythonanywhere@0.12.1
python-pytest-cookies@0.7.0 python-quadpy@0.16.10 python-cplot@0.9.3
python-pyvista@0.42.3 python-pygmsh@7.1.17
python-sphinx-theme-builder@0.2.0b1 clikan@0.2.1-1.55ab29e
jami-docs@0.0.0-2.a48997d

Failed when patches are applied, might need more time for investigation;
- python-dolfin-adjoint@2019.1.0

Packages which were failing before patches are aplied and after:
- python-commonroad-route-planner@2022.3


--
Oleg
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEmEeB3micIcJkGAhndtcnv/Ys0rUFAmXLeQYACgkQdtcnv/Ys
0rXFsQ//RgK1BcmC2xKY9vttfFrF0RF6CyTNsmWaFdYiqeKmt8l9TGbhq6zk1axD
ohFU48L7wCftX5AZ/LMuq/AHPHR/umkC0M2tcm+n9JeoVN9Dh3PqmbY3xaYgK/ux
yAWKkqBohlLa8tJqu4+gQIl8ACiEeFmnBYI2ybS3kMB6M3fQNHZIQQO27Eg4SgOL
WkA0Sa0d028Qw/xgQaQWaXTo7ai0M8dR/MSgpu06O3weA1fTUJI/HscDbFluYVgc
LwCpp0kLfkwN/BrwIeQfWhG8L5+syxLhYwt4l1VufoaOhNLZ+lyMML94+SbtJTzq
yytHsmzG96kgQPLOajzC7g+JiL3/9azoUPXzFF6iyHgvEkQLtWCDgdaCIqrD7Nl6
LFSVJr4+7+WQUz1hZypoH2wrIXAIV1L9fMm4NeuUc7jchY8ZSBRTxb6QR+wYHtOF
4Z6TcGQZs3gxNdq7WYw+pXcEq9hxBWj/ZTpNaWWB0S4PoNnNjVxieFrD7OwgfelE
DpUFH8wAGZe7xrOaCCs8g0MK+5VtYoOhcJnJbs+tS84QWwjSt8RFPBkTpZjmmbp+
NReNBLJxxbWpGfZeIx22MY1LF06klcMaTKx+NIu58iTJyMzskcNp9u+x8RVrph4s
Z0IZ1H1uF+ccuwxUYdE53GCCDGE0fiwKJdzkTmT7rSVxZ8a+1go=
=nBVu
-----END PGP SIGNATURE-----

S
S
Sharlatan Hellseher wrote on 13 Feb 15:15 +0100
[PATCH v4 1/8] gnu: python-markdown-it-py: Update to 3.0.0.
(address . 68207@debbugs.gnu.org)
9c3d89f5eb0359dc6493dfc0d24667d2a5c6b484.1707833700.git.sharlatanus@gmail.com
From: Felix Gruber <felgru@posteo.net>

* gnu/packages/python-xyz.scm (python-markdown-it-py): Update to 3.0.0.
[propagated-inputs]: Remove python-typing-extensions; add python-commonmark,
python-linkify-it-py, python-markdown, python-mistletoe,
python-mistune, python-panflute, python-psutil, and python-pyyaml.
[native-inputs]: Remove python-flit; add python-flit-core.

Change-Id: I5dc06b163ddbec0a32a9d7c3da2c834b2e74cd74
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
---
gnu/packages/python-xyz.scm | 17 ++++++++++++-----
1 file changed, 12 insertions(+), 5 deletions(-)

Toggle diff (40 lines)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index a645c45a4c..6a28836acf 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -5881,19 +5881,26 @@ (define-public python-makefun
(define-public python-markdown-it-py
(package
(name "python-markdown-it-py")
- (version "2.1.0")
+ (version "3.0.0")
(source (origin
(method url-fetch)
(uri (pypi-uri "markdown-it-py" version))
(sha256
(base32
- "1nh75i72584r70alhqc479gys04s5m5g3vq601yf2njbs7z5jzng"))))
+ "1swgvyiavak0nmfb31lq5zck5chwhmyf6qb6qwpcav86zaa0mxp3"))))
(build-system pyproject-build-system)
(arguments (list #:tests? #f)) ;pypi source does not contains tests
- (native-inputs (list python-flit))
+ (native-inputs (list python-flit-core))
(propagated-inputs
- (list python-mdurl
- python-typing-extensions))
+ (list python-commonmark
+ python-linkify-it-py
+ python-markdown
+ python-mdurl
+ python-mistletoe
+ python-mistune
+ python-panflute
+ python-psutil
+ python-pyyaml))
(home-page "https://github.com/executablebooks/markdown-it-py")
(synopsis "Python port of markdown-it")
(description

base-commit: e9a6c7094822bc859d0694eeaf8f434317219367
--
2.41.0
S
S
Sharlatan Hellseher wrote on 13 Feb 15:15 +0100
[PATCH v4 2/8] gnu: python-mdit-py-plugins: Update to 0.4.0.
(address . 68207@debbugs.gnu.org)
6ff81e72ae8319b37f1c331f2543fe288b0fa471.1707833700.git.sharlatanus@gmail.com
From: Felix Gruber <felgru@posteo.net>

* gnu/packages/python-xyz.scm (python-mdit-py-plugins): Update to 0.4.0.

Change-Id: I18ca46abebe125d1a6729c10a3f4fa4a62a145ba
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
---
gnu/packages/python-xyz.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (24 lines)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 6a28836acf..30f6f1fb3e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -1124,7 +1124,7 @@ (define-public python-lunr
(define-public python-mdit-py-plugins
(package
(name "python-mdit-py-plugins")
- (version "0.3.1")
+ (version "0.4.0")
(source (origin
(method git-fetch) ;for tests
(uri (git-reference
@@ -1133,7 +1133,7 @@ (define-public python-mdit-py-plugins
(file-name (git-file-name name version))
(sha256
(base32
- "00ybbfb6dzn9q5qnvnm8bmhd84s215ik7pcdb4r35zhwiv2ikizz"))))
+ "1790fcf3nd9c5j37fx87x3ivfyihk6l74jxj1qxvw3qfyb96w4k0"))))
(build-system pyproject-build-system)
(propagated-inputs
(list python-markdown-it-py
--
2.41.0
S
S
Sharlatan Hellseher wrote on 13 Feb 15:15 +0100
[PATCH v4 3/8] gnu: Add python-pygments-next.
(address . 68207@debbugs.gnu.org)
728705aef93f577dc836dad4e709066908722380.1707833700.git.sharlatanus@gmail.com
From: Felix Gruber <felgru@posteo.net>

* gnu/packages/python-xyz.scm (python-pygments-next): New variable.

Change-Id: I12e3e0d6042f34e0375bcbb1dc90ccc9ed9ce050
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
---
gnu/packages/python-xyz.scm | 15 +++++++++++++++
1 file changed, 15 insertions(+)

Toggle diff (28 lines)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 30f6f1fb3e..b3eed56d06 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -6588,6 +6588,21 @@ (define-public python-pygments
"Pygments is a syntax highlighting package written in Python.")
(license license:bsd-2)))
+(define-public python-pygments-next
+ (package
+ (inherit python-pygments)
+ (name "python-pygments-next")
+ (version "2.17.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pygments" version))
+ (sha256
+ (base32
+ "0ry3qi4rszkiqb20bmjlzys71dja9i746kvqi8xbxr9dzp4wwins"))))
+ (build-system pyproject-build-system)
+ (native-inputs (list python-hatchling))))
+
(define-public python-pygments-github-lexers
(package
(name "python-pygments-github-lexers")
--
2.41.0
S
S
Sharlatan Hellseher wrote on 13 Feb 15:15 +0100
[PATCH v4 4/8] gnu: python-rich: Update to 13.7.0.
(address . 68207@debbugs.gnu.org)
10c2e0610f2006e7644fb36e7c8a70e7ad19d0a9.1707833700.git.sharlatanus@gmail.com
From: Felix Gruber <felgru@posteo.net>

* gnu/packages/python-xyz.scm (python-rich): Update to 13.7.0.
[source]: Use git-fetch since pypi package doesn't include tests.
[build-system]: Use pyproject-build-system.
[arguments]: Remove custom 'check phase.
[propagated-inputs]: Remove python-attrs, python-colorama,
python-commonmark and python-typingextensions; add
python-ipywidgets and python-markdown-it-py; replace python-pygments
with python-pygments-next.
[native-inputs]: Add python-poetry-core; remove tests (which are now
included in new [source]).

Change-Id: I15f7928fc376d8c2556ca2965fe44453bd15f248
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
---
gnu/packages/python-xyz.scm | 49 ++++++++++++-------------------------
1 file changed, 15 insertions(+), 34 deletions(-)

Toggle diff (64 lines)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index b3eed56d06..afd5caf541 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -19192,42 +19192,23 @@ (define-public python-slugid
(define-public python-rich
(package
(name "python-rich")
- (version "12.4.1")
- (source (origin
- (method url-fetch)
- (uri (pypi-uri "rich" version))
- (sha256
- (base32
- "149vjb4cpf9mz14iig0b6d8065dm8aslp6pc45g9ipmp1wf00ffj"))))
- (build-system python-build-system)
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key inputs tests? #:allow-other-keys)
- (when tests?
- (copy-recursively (string-append
- (assoc-ref inputs "tests") "/tests")
- "tests")
- (invoke "python" "-m" "pytest" "-vv")))))))
+ (version "13.7.0")
+ (source
+ (origin
+ ;; There are no tests in the PyPI tarball.
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/willmcgugan/rich")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0qyhw2vvk17qdmfrmi45z4dd0fkwx3l2qrf3iy0yc2y7pfgrmg9g"))))
+ (build-system pyproject-build-system)
(propagated-inputs
- (list python-attrs python-colorama python-commonmark python-pygments
- python-typing-extensions))
+ (list python-ipywidgets python-markdown-it-py python-pygments-next))
(native-inputs
- `(("python-pytest" ,python-pytest)
- ("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/willmcgugan/rich")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "17c3gljn8zv32xnpsgd3fqgqn4r7cdfqri41hridcpbhssdgkyp9"))))))
+ (list python-poetry-core python-pytest))
(home-page "https://github.com/willmcgugan/rich")
(synopsis "Render rich text and more to the terminal")
(description
--
2.41.0
S
S
Sharlatan Hellseher wrote on 13 Feb 15:15 +0100
[PATCH v4 6/8] gnu: python-jupytext: Update to 1.15.0.
(address . 68207@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
3c7f617c0d5baaa6aba81accfc8d63247ead6aef.1707833700.git.sharlatanus@gmail.com
* gnu/packages/python-xyz.scm (python-jupytext): Update to 1.15.0.

Change-Id: I8cbd4e45eae838cb1733bf8feeb3bc2abe960513
---
gnu/packages/python-xyz.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (24 lines)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 27665e1cad..e04c55738e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -339,7 +339,7 @@ (define-public python-janus
(define-public python-jupytext
(package
(name "python-jupytext")
- (version "1.14.4")
+ (version "1.15.0")
(source
(origin
(method git-fetch)
@@ -348,7 +348,7 @@ (define-public python-jupytext
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "19d443vx597zzxna09qpync9iic3mris80bwm3kd8xaxaq0zq9w4"))))
+ (base32 "0bgf0c4py22ip7qfla8mrmypfh3bg151c8awsr1gvcbw7m4ni01k"))))
(build-system python-build-system)
(arguments
(list
--
2.41.0
S
S
Sharlatan Hellseher wrote on 13 Feb 15:15 +0100
[PATCH v4 5/8] gnu: python-textual: Update to 0.50.1.
(address . 68207@debbugs.gnu.org)
c277a22f7e5556443a29bf5bd05bfb01ba8c591b.1707833700.git.sharlatanus@gmail.com
From: Felix Gruber <felgru@posteo.net>

* 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 | 49 ++++++++++++++++++-------------------
1 file changed, 24 insertions(+), 25 deletions(-)

Toggle diff (86 lines)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index afd5caf541..27665e1cad 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -108,7 +108,7 @@
;;; Copyright © 2021 Simon Streit <simon@netpanic.org>
;;; Copyright © 2021, 2022, 2023 Daniel Meißner <daniel.meissner-i4k@ruhr-uni-bochum.de>
;;; Copyright © 2021, 2022 Pradana Aumars <paumars@courrier.dev>
-;;; Copyright © 2021, 2022, 2023 Felix Gruber <felgru@posteo.net>
+;;; Copyright © 2021–2024 Felix Gruber <felgru@posteo.net>
;;; Copyright © 2021 Sébastien Lerique <sl@eauchat.org>
;;; Copyright © 2021 Raphaël Mélotte <raphael.melotte@mind.be>
;;; Copyright © 2021 ZmnSCPxj <ZmnSCPxj@protonmail.com>
@@ -266,6 +266,7 @@ (define-module (gnu packages python-xyz)
#: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)
@@ -19242,20 +19243,8 @@ (define-public python-rich-click
(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")
@@ -19263,19 +19252,29 @@ (define-public python-textual
(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
--
2.41.0
S
S
Sharlatan Hellseher wrote on 13 Feb 15:15 +0100
[PATCH v4 8/8] gnu: python-myst-parser: Relax some requirements.
(address . 68207@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
9712303fd79be5ca3a0a4fcf702e0e7a01730a89.1707833700.git.sharlatanus@gmail.com
* gnu/packages/sphinx.scm (python-myst-parser) [arguments]
<#:test-flags>: Disable one more failing test.
<#:phases>: Add 'relax-requirements phase.

Change-Id: I4f77ce81e9f69b81b18f3faa546c7d8cd77adf50
---
gnu/packages/sphinx.scm | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)

Toggle diff (33 lines)
diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm
index e280c06f2b..12dee3df27 100644
--- a/gnu/packages/sphinx.scm
+++ b/gnu/packages/sphinx.scm
@@ -803,6 +803,7 @@ (define-public python-mpl-sphinx-theme
(define-public python-myst-parser
(package
(name "python-myst-parser")
+ ;; The latest version (v2.0.0) require Sphinx >= v6.
(version "0.18.1")
(source (origin
(method git-fetch) ;for tests
@@ -821,7 +822,17 @@ (define-public python-myst-parser
(list #:test-flags #~(list "-k" (string-append
"not test_basic "
"and not test_gettext_html "
- "and not test_fieldlist_extension"))))
+ "and not test_fieldlist_extension "
+ "and not test_syntax_extensions"))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'relax-requirements
+ (lambda _
+ (substitute* "pyproject.toml"
+ ;; "mdit-py-plugins~=0.3.1"
+ (("0.3.1") "0.4.0")
+ ;; "markdown-it-py>=1.0.0,<3.0.0"
+ (("3.0.0") "4.0.0")))))))
(native-inputs
(list python-beautifulsoup4
python-docutils
--
2.41.0
S
S
Sharlatan Hellseher wrote on 13 Feb 15:15 +0100
[PATCH v4 7/8] gnu: python-lightning-cloud: Disable tests.
(address . 68207@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
a3fe43981b978bd24705c718dac7c27f8a0e6bf7.1707833700.git.sharlatanus@gmail.com
* gnu/packages/machine-learning.scm (python-lightning-cloud) [arguments]
<#:tests?>: Set to #t as PyPI archive does not provide any.

Change-Id: I406b6515441d01dc1612caa3d3e7b70fa7b2c980
---
gnu/packages/machine-learning.scm | 3 +++
1 file changed, 3 insertions(+)

Toggle diff (16 lines)
diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index 2e20872555..58c607418b 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -4363,6 +4363,9 @@ (define-public python-lightning-cloud
(sha256
(base32
"0mqrhq3s23mn8n4i0q791pshn3dgplp0h9ny0pmmp798q0798dzs"))))
+ (arguments
+ (list
+ #:tests? #f)) ; no tests in PyPI arcvhie.
(build-system pyproject-build-system)
(propagated-inputs (list python-click
python-fastapi-for-pytorch-lightning
--
2.41.0
R
R
Ricardo Wurmus wrote on 27 Feb 10:24 +0100
[PATCH 0/5] Update python-textual to 0.46.0.
(address . 68207-done@debbugs.gnu.org)
878r36z2ax.fsf@elephly.net
I've pushed some of these patches to the python-team branch, where we
have a more recent version of pygments.

--
Ricardo
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 68207@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 68207
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch