Skip to content

Commit a232742

Browse files
committed
pythonGH-125722: Increase minimum supported Sphinx to 8.1.3
1 parent 211f413 commit a232742

File tree

4 files changed

+11
-9
lines changed

4 files changed

+11
-9
lines changed

.github/workflows/reusable-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ jobs:
8888
- name: 'Set up Python'
8989
uses: actions/setup-python@v5
9090
with:
91-
python-version: '3.13' # known to work with Sphinx 7.2.6
91+
python-version: '3.13' # known to work with Sphinx 8.1.3
9292
cache: 'pip'
9393
cache-dependency-path: 'Doc/requirements-oldest-sphinx.txt'
9494
- name: 'Install build dependencies'

Doc/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
highlight_language = 'python3'
9898

9999
# Minimum version of sphinx required
100-
needs_sphinx = '7.2.6'
100+
needs_sphinx = '8.1.3'
101101

102102
# Create table of contents entries for domain objects (e.g. functions, classes,
103103
# attributes, etc.). Default is True.

Doc/requirements-oldest-sphinx.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,25 +7,25 @@ blurb
77
python-docs-theme>=2022.1
88

99
# Generated from:
10-
# pip install "Sphinx~=7.2.6"
10+
# pip install "Sphinx~=8.1.3"
1111
# pip freeze
1212
#
13-
# Sphinx 7.2.6 comes from ``needs_sphinx = '7.2.6'`` in ``Doc/conf.py``.
13+
# Sphinx 8.1.3 comes from ``needs_sphinx = '8.1.3'`` in ``Doc/conf.py``.
1414

15-
alabaster==0.7.16
15+
alabaster==1.0.0
1616
babel==2.16.0
1717
certifi==2024.12.14
18-
charset-normalizer==3.4.0
19-
docutils==0.20.1
18+
charset-normalizer==3.4.1
19+
docutils==0.21.2
2020
idna==3.10
2121
imagesize==1.4.1
2222
Jinja2==3.1.5
2323
MarkupSafe==3.0.2
2424
packaging==24.2
25-
Pygments==2.18.0
25+
Pygments==2.19.1
2626
requests==2.32.3
2727
snowballstemmer==2.2.0
28-
Sphinx==7.2.6
28+
Sphinx==8.1.3
2929
sphinxcontrib-applehelp==2.0.0
3030
sphinxcontrib-devhelp==2.0.0
3131
sphinxcontrib-htmlhelp==2.1.0
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Require Sphinx 8.1.3 or later to build the Python documentation. Patch by
2+
Adam Turner.

0 commit comments

Comments
 (0)