From a71daa4e6e9b75084497711a84cb271e9b44b2bb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 3 Feb 2025 06:11:37 +0000 Subject: [PATCH 1/3] Update mistune requirement from 0.8.4 to 3.1.1 Updates the requirements on [mistune](https://github.com/lepture/mistune) to permit the latest version. - [Release notes](https://github.com/lepture/mistune/releases) - [Changelog](https://github.com/lepture/mistune/blob/master/docs/changes.rst) - [Commits](https://github.com/lepture/mistune/compare/v0.8.4...v3.1.1) --- updated-dependencies: - dependency-name: mistune dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 7a8abf962..3032831f0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -49,7 +49,7 @@ nbsphinx = { version = "*", optional = true } recommonmark = { version = "*", optional = true } graphviz = { version = "*", optional = true } m2r = { version = "*", optional = true } -mistune = { version = "0.8.4", optional = true } +mistune = { version = "3.1.1", optional = true } urllib3 = { version = "2.2.2", optional = true } lxml_html_clean = { version = "*", optional = true } From 818d1052147946b1e51c4843937b0bd774da60b5 Mon Sep 17 00:00:00 2001 From: Yue Ma <3124558229@qq.com> Date: Tue, 4 Feb 2025 21:28:03 -0800 Subject: [PATCH 2/3] use m2r2 to accommodate mistune>=3.1.1 --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 3032831f0..dc598b800 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -48,7 +48,7 @@ sphinx_rtd_theme = { version = "*", optional = true } nbsphinx = { version = "*", optional = true } recommonmark = { version = "*", optional = true } graphviz = { version = "*", optional = true } -m2r = { version = "*", optional = true } +m2r2 = { version = "*", optional = true } mistune = { version = "3.1.1", optional = true } urllib3 = { version = "2.2.2", optional = true } lxml_html_clean = { version = "*", optional = true } @@ -60,7 +60,7 @@ docs = [ "nbsphinx", "recommonmark", "graphviz", - "m2r", + "m2r2", "mistune", "urllib3", "lxml_html_clean", From a2b59849372dc8544aa4c1d209c52a56cdfb2569 Mon Sep 17 00:00:00 2001 From: yuema137 <3124558229@qq.com> Date: Tue, 4 Feb 2025 23:30:39 -0600 Subject: [PATCH 3/3] use m2r2 for doc generation --- docs/source/build_release_notes.py | 2 +- docs/source/conf.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/build_release_notes.py b/docs/source/build_release_notes.py index b020dabd9..b4b2c7a66 100644 --- a/docs/source/build_release_notes.py +++ b/docs/source/build_release_notes.py @@ -1,4 +1,4 @@ -from m2r import convert +from m2r2 import convert import os header = """ diff --git a/docs/source/conf.py b/docs/source/conf.py index 7a8ebab1d..9e838ff6b 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -301,7 +301,7 @@ def write_contributing(): """Convert contributing to rst.""" - from m2r import convert + from m2r2 import convert import os this_dir = os.path.dirname(os.path.realpath(__file__))