Skip to content

Commit 9d8ff71

Browse files
committed
Elaborate comments
Also document the build requirements in Doc/using/configure.rst
1 parent acc5c47 commit 9d8ff71

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

Doc/conf.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@
6565
# By default, highlight as Python 3.
6666
highlight_language = 'python3'
6767

68-
# Minimum version of sphinx required
68+
# Minimum version of sphinx required.
69+
# Sphinx 6.2 no longer uses imghdr which was removed in Python 3.13.
6970
needs_sphinx = '6.2'
7071

7172
# Ignore any .rst files in the includes/ directory;

Doc/using/configure.rst

+2
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ Features required to build CPython:
2222

2323
* On Windows, Microsoft Visual Studio 2017 or later is required.
2424

25+
* Sphinx 6.2 or newer is required to build the Python documentation.
26+
2527
.. versionchanged:: 3.11
2628
C11 compiler, IEEE 754 and NaN support are now required.
2729
On Windows, Visual Studio 2017 or later is required.

Doc/whatsnew/3.13.rst

+2
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,8 @@ Build Changes
242242
=============
243243

244244
* Sphinx 6.2 or newer is now required to build the Python documentation.
245+
Sphinx 6.2 no longer uses the :mod:`!imghdr` module which was removed in
246+
Python 3.13.
245247
(Contributed by Victor Stinner in :gh:`104818`.)
246248

247249

0 commit comments

Comments
 (0)