Skip to content

Commit 0cda690

Browse files
authored
⬆️ Drop docutils 0.19 (#1061)
In preparation for docutils 0.22
1 parent 9f3df83 commit 0cda690

File tree

4 files changed

+4
-11
lines changed

4 files changed

+4
-11
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
strategy:
7474
fail-fast: false
7575
matrix:
76-
docutils-version: ["0.19", "0.20", "0.21"]
76+
docutils-version: ["0.20", "0.21"]
7777

7878
steps:
7979
- name: Checkout source

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ keywords = [
3333
]
3434
requires-python = ">=3.11"
3535
dependencies = [
36-
"docutils>=0.19,<0.22",
36+
"docutils>=0.20,<0.22",
3737
"jinja2", # required for substitutions, but let sphinx choose version
3838
"markdown-it-py~=4.0",
3939
"mdit-py-plugins~=0.5",

tests/test_sphinx/test_sphinx_builds.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -474,14 +474,7 @@ def test_gettext_html(
474474
filename="index.html",
475475
regress_html=True,
476476
regress_ext=".html",
477-
replace={
478-
# upstream bug https://github.com/sphinx-doc/sphinx/issues/11689
479-
'"Permalink to this heading"': '"Lien permanent vers cette rubrique"',
480-
# which was fixed to a different translation in sphinx 7.3
481-
'"Lien vers cette rubrique"': '"Lien permanent vers cette rubrique"',
482-
# changed in docutils>0.19
483-
' role="note">': ' role="doc-footnote">',
484-
},
477+
replace={},
485478
)
486479

487480

tests/test_sphinx/test_sphinx_builds/test_gettext_html.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ <h1>
77
<strong>
88
gras
99
</strong>
10-
<a class="headerlink" href="#bold-text-1" title="Lien permanent vers cette rubrique">
10+
<a class="headerlink" href="#bold-text-1" title="Lien vers cette rubrique">
1111
1212
</a>
1313
</h1>

0 commit comments

Comments
 (0)