From 6b045549f8f1f997f901d7310b979884a971e7d5 Mon Sep 17 00:00:00 2001 From: Chris Sewell Date: Tue, 6 Jun 2023 00:46:33 +0200 Subject: [PATCH] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20UPGRADE:=20markdown-it-py?= =?UTF-8?q?=20v3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .pre-commit-config.yaml | 4 ++-- pyproject.toml | 4 ++-- tests/test_renderers/fixtures/docutil_syntax_extensions.txt | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 06947fac..5f55a972 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -47,9 +47,9 @@ repos: args: [--config-file=pyproject.toml] additional_dependencies: - sphinx~=5.0 - - markdown-it-py>=1.0.0,<3.0.0 - - mdit-py-plugins~=0.3.4 - types-urllib3 + - markdown-it-py~=3.0 + - mdit-py-plugins~=0.4.0 files: > (?x)^( myst_parser/.*py| diff --git a/pyproject.toml b/pyproject.toml index d790af21..774e23da 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -36,8 +36,8 @@ requires-python = ">=3.8" dependencies = [ "docutils>=0.15,<0.20", "jinja2", # required for substitutions, but let sphinx choose version - "markdown-it-py>=1.0.0,<3.0.0", - "mdit-py-plugins~=0.3.4", + "markdown-it-py~=3.0", + "mdit-py-plugins~=0.4", "pyyaml", "sphinx>=5,<7", ] diff --git a/tests/test_renderers/fixtures/docutil_syntax_extensions.txt b/tests/test_renderers/fixtures/docutil_syntax_extensions.txt index 2dc0d439..a42c3001 100644 --- a/tests/test_renderers/fixtures/docutil_syntax_extensions.txt +++ b/tests/test_renderers/fixtures/docutil_syntax_extensions.txt @@ -107,7 +107,7 @@ content . - © © ® ® ™ ™ § § ± … + © © ® ® ™ ™ (p) (P) ± … . [strikethrough] --myst-enable-extensions=strikethrough