Skip to content

Commit 58c5ad3

Browse files
authored
Infra: bump Sphinx to 9.0+, limit docutils to <0.22 (#4926)
1 parent d94899e commit 58c5ad3

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

pep_sphinx_extensions/pep_processor/html/pep_html_builder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,4 @@ class DirectoryBuilder(FileBuilder):
4848
# sync all overwritten things from DirectoryHTMLBuilder
4949
name = DirectoryHTMLBuilder.name
5050
get_target_uri = DirectoryHTMLBuilder.get_target_uri
51-
get_outfilename = DirectoryHTMLBuilder.get_outfilename
51+
get_output_path = DirectoryHTMLBuilder.get_output_path

requirements.txt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,9 @@
33
# Sphinx requires >= 2.17. JSON5 support added in 2.19, `lazy` highlight added in 2.21
44
pygments >= 2.21
55

6-
# Sphinx 6.1.0 broke copying images in parallel builds; fixed in 6.1.2
7-
# See https://github.com/sphinx-doc/sphinx/pull/11100
8-
Sphinx >= 5.1.1, != 6.1.0, != 6.1.1, < 8.1.0
9-
docutils >= 0.19.0
6+
Sphinx >= 8.2
7+
# 0.22 causes build errors, see https://github.com/python/peps/issues/4924
8+
docutils < 0.22
109
sphinx-notfound-page >= 1.0.2
1110
# For search
1211
pagefind[bin] >= 1.5.0

0 commit comments

Comments
 (0)