GNU bug report logs - #68207
[PATCH 0/5] Update python-textual to 0.46.0.

Previous Next

Package: guix-patches;

Reported by: Felix Gruber <felgru <at> posteo.net>

Date: Tue, 2 Jan 2024 15:04:01 UTC

Severity: normal

Tags: patch

Done: Ricardo Wurmus <rekado <at> elephly.net>

Bug is archived. No further changes may be made.

Full log


Message #80 received at 68207 <at> debbugs.gnu.org (full text, mbox):

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 68207 <at> debbugs.gnu.org
Cc: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Subject: [PATCH v4 8/8] gnu: python-myst-parser: Relax some requirements.
Date: Tue, 13 Feb 2024 14:15:45 +0000
* 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(-)

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





This bug report was last modified 1 year and 80 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.