]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.11] GH-109209: Bump the minimum Sphinx version to 4.2 (GH-109210) (#109637)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 21 Sep 2023 06:32:10 +0000 (23:32 -0700)
committerGitHub <noreply@github.com>
Thu, 21 Sep 2023 06:32:10 +0000 (06:32 +0000)
GH-109209: Bump the minimum Sphinx version to 4.2 (GH-109210)
(cherry picked from commit 712cb173f8e1d02c625a40ae03bba57b0c1c032a)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
.github/workflows/reusable-docs.yml
Doc/conf.py
Doc/requirements-oldest-sphinx.txt
Misc/NEWS.d/next/Documentation/2023-09-10-02-39-06.gh-issue-109209.0LBewo.rst [new file with mode: 0644]

index b434d3dfeb6da6f053c188080e4e370e46f24e17..d0618516bedddf9260e21b83ff67597fb7952d91 100644 (file)
@@ -44,7 +44,7 @@ jobs:
     - name: 'Set up Python'
       uses: actions/setup-python@v4
       with:
-        python-version: '3.11'  # known to work with Sphinx 3.2
+        python-version: '3.11'  # known to work with Sphinx 4.2
         cache: 'pip'
         cache-dependency-path: 'Doc/requirements-oldest-sphinx.txt'
     - name: 'Install build dependencies'
index 161a8dec69b5d2d83e84426d0d069f6230ef85da..8c92799ecbbf3bb1a937b614590b7afe0977a570 100644 (file)
@@ -61,7 +61,7 @@ today_fmt = '%B %d, %Y'
 highlight_language = 'python3'
 
 # Minimum version of sphinx required
-needs_sphinx = '3.2'
+needs_sphinx = '4.2'
 
 # Ignore any .rst files in the includes/ directory;
 # they're embedded in pages but not rendered individually.
index 94611ca22f09fef48b9b68585668ca6645110e24..d3ef5bc17650aee45500337834e7b8e524057ebb 100644 (file)
@@ -7,12 +7,10 @@ blurb
 python-docs-theme>=2022.1
 
 # Generated from:
-#     pip install "Sphinx~=3.2.0" "docutils<0.17" "Jinja2<3" "MarkupSafe<2"
+#     pip install "Sphinx~=4.2.0"
 #     pip freeze
 #
-# Sphinx 3.2 comes from ``needs_sphinx = '3.2'`` in ``Doc/conf.py``.
-# Docutils<0.17, Jinja2<3, and MarkupSafe<2 are additionally specified as
-# Sphinx 3.2 is incompatible with newer releases of these packages.
+# Sphinx 4.2 comes from ``needs_sphinx = '4.2'`` in ``Doc/conf.py``.
 
 alabaster==0.7.13
 Babel==2.12.1
@@ -25,10 +23,10 @@ imagesize==1.4.1
 Jinja2==2.11.3
 MarkupSafe==1.1.1
 packaging==23.1
-Pygments==2.15.1
+Pygments==2.16.1
 requests==2.31.0
 snowballstemmer==2.2.0
-Sphinx==3.2.1
+Sphinx==4.2.0
 sphinxcontrib-applehelp==1.0.4
 sphinxcontrib-devhelp==1.0.2
 sphinxcontrib-htmlhelp==2.0.1
diff --git a/Misc/NEWS.d/next/Documentation/2023-09-10-02-39-06.gh-issue-109209.0LBewo.rst b/Misc/NEWS.d/next/Documentation/2023-09-10-02-39-06.gh-issue-109209.0LBewo.rst
new file mode 100644 (file)
index 0000000..79cc0b7
--- /dev/null
@@ -0,0 +1 @@
+The minimum Sphinx version required for the documentation is now 4.2.