diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 4772cf03..e3ad753f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -73,7 +73,7 @@ jobs: strategy: fail-fast: false matrix: - docutils-version: ["0.19", "0.20", "0.21"] + docutils-version: ["0.20", "0.21"] steps: - name: Checkout source diff --git a/pyproject.toml b/pyproject.toml index bbef7038..9e65c5fa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -33,7 +33,7 @@ keywords = [ ] requires-python = ">=3.11" dependencies = [ - "docutils>=0.19,<0.22", + "docutils>=0.20,<0.22", "jinja2", # required for substitutions, but let sphinx choose version "markdown-it-py~=4.0", "mdit-py-plugins~=0.5", diff --git a/tests/test_sphinx/test_sphinx_builds.py b/tests/test_sphinx/test_sphinx_builds.py index 59673db3..1d01eaee 100644 --- a/tests/test_sphinx/test_sphinx_builds.py +++ b/tests/test_sphinx/test_sphinx_builds.py @@ -474,14 +474,7 @@ def test_gettext_html( filename="index.html", regress_html=True, regress_ext=".html", - replace={ - # upstream bug https://github.com/sphinx-doc/sphinx/issues/11689 - '"Permalink to this heading"': '"Lien permanent vers cette rubrique"', - # which was fixed to a different translation in sphinx 7.3 - '"Lien vers cette rubrique"': '"Lien permanent vers cette rubrique"', - # changed in docutils>0.19 - ' role="note">': ' role="doc-footnote">', - }, + replace={}, ) diff --git a/tests/test_sphinx/test_sphinx_builds/test_gettext_html.html b/tests/test_sphinx/test_sphinx_builds/test_gettext_html.html index 7e497f62..a77dc404 100644 --- a/tests/test_sphinx/test_sphinx_builds/test_gettext_html.html +++ b/tests/test_sphinx/test_sphinx_builds/test_gettext_html.html @@ -7,7 +7,7 @@