summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-09-22 12:30:57 (GMT)
committerGitHub <noreply@github.com>2023-09-22 12:30:57 (GMT)
commit9e4ac21c46ac1e937cbfbe5603c6e71cc073a3ee (patch)
treeec6efe6afddd33764357614058310476ca8ec07b /Doc
parent4a0c118d6a4080efc538802f70ee79ce5c046e72 (diff)
downloadcpython-9e4ac21c46ac1e937cbfbe5603c6e71cc073a3ee.zip
cpython-9e4ac21c46ac1e937cbfbe5603c6e71cc073a3ee.tar.gz
cpython-9e4ac21c46ac1e937cbfbe5603c6e71cc073a3ee.tar.bz2
[3.12] GH-109209: Bump the minimum Sphinx version to 4.2 (GH-109210) (#109636)
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>
Diffstat (limited to 'Doc')
-rw-r--r--Doc/conf.py2
-rw-r--r--Doc/requirements-oldest-sphinx.txt10
2 files changed, 5 insertions, 7 deletions
diff --git a/Doc/conf.py b/Doc/conf.py
index a8805bd..9f01bd8 100644
--- a/Doc/conf.py
+++ b/Doc/conf.py
@@ -66,7 +66,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.
diff --git a/Doc/requirements-oldest-sphinx.txt b/Doc/requirements-oldest-sphinx.txt
index 94611ca..d3ef5bc 100644
--- a/Doc/requirements-oldest-sphinx.txt
+++ b/Doc/requirements-oldest-sphinx.txt
@@ -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