Subject: [bug#66886] [PATCH v4 2/6] gnu: python-markdown-it-py: Update to 3.0.0.

From: Giacomo Leidi <[email-masked]>
Date: Mon, 15 Jan 2024 00:59:34 +0100

* gnu/packages/python-xyz.scm (python-markdown-it-py): Update to 3.0.0;
(python-markdown-it-py-2.1): new variable.

* gnu/packages/sphinx.scm (python-myst-parser)[propagated-inputs]:
Use python-markdown-it-py-2.1.

Change-Id: I009ad2fd7cd314e2073621f2cbe00ff97cb7e63c
---
 gnu/packages/python-xyz.scm | 15 +++++++++++++--
 gnu/packages/sphinx.scm     |  2 +-
 2 files changed, 14 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 5f159c39d1..a0ad12a29f 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -5502,13 +5502,13 @@ (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))
@@ -5524,6 +5524,17 @@ (define-public python-markdown-it-py
 possible.")
     (license license:expat)))
 
+(define-public python-markdown-it-py-2.1
+  (package
+    (inherit python-markdown-it-py)
+    (version "2.1.0")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "markdown-it-py" version))
+              (sha256
+               (base32
+                "1nh75i72584r70alhqc479gys04s5m5g3vq601yf2njbs7z5jzng"))))))
+
 (define-public python-markupsafe
   (package
     (name "python-markupsafe")
diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm
index 7e5a929241..89196086f2 100644
--- a/gnu/packages/sphinx.scm
+++ b/gnu/packages/sphinx.scm
@@ -792,7 +792,7 @@ (define-public python-myst-parser
      (list python-docutils
            python-jinja2
            python-linkify-it-py
-           python-markdown-it-py
+           python-markdown-it-py-2.1
            python-linkify-it-py
            python-mdit-py-plugins
            python-pyyaml
-- 
2.41.0