Skip to content

Commit e012cf7

Browse files
vstinnererlend-aaslandserhiy-storchaka
authored
Document Python build requirements (#108646)
Co-authored-by: Erlend E. Aasland <[email protected]> Co-authored-by: Serhiy Storchaka <[email protected]>
1 parent c7cef54 commit e012cf7

File tree

2 files changed

+23
-6
lines changed

2 files changed

+23
-6
lines changed

Doc/using/configure.rst

Lines changed: 22 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,29 +5,42 @@ Configure Python
55
Build Requirements
66
==================
77

8-
Features required to build CPython:
8+
Features and minimum versions required to build CPython:
99

1010
* A `C11 <https://en.cppreference.com/w/c/11>`_ compiler. `Optional C11
1111
features
1212
<https://en.wikipedia.org/wiki/C11_(C_standard_revision)#Optional_features>`_
1313
are not required.
1414

15+
* On Windows, Microsoft Visual Studio 2017 or later is required.
16+
1517
* Support for `IEEE 754 <https://en.wikipedia.org/wiki/IEEE_754>`_ floating
1618
point numbers and `floating point Not-a-Number (NaN)
1719
<https://en.wikipedia.org/wiki/NaN#Floating_point>`_.
1820

1921
* Support for threads.
2022

21-
* OpenSSL 1.1.1 or newer for the :mod:`ssl` and :mod:`hashlib` modules.
23+
* OpenSSL 1.1.1 is the minimum version and OpenSSL 3.0.9 is the recommended
24+
minimum version for the :mod:`ssl` and :mod:`hashlib` extension modules.
2225

23-
* On Windows, Microsoft Visual Studio 2017 or later is required.
26+
* SQLite 3.15.2 for the :mod:`sqlite3` extension module.
27+
28+
* Tcl/Tk 8.5.12 for the :mod:`tkinter` module.
29+
30+
* Autoconf 2.71 and aclocal 1.16.4 are required to regenerate the
31+
:file:`configure` script.
32+
33+
.. versionchanged:: 3.13:
34+
Autoconf 2.71, aclocal 1.16.4 and SQLite 3.15.2 are now required.
2435

2536
.. versionchanged:: 3.11
2637
C11 compiler, IEEE 754 and NaN support are now required.
2738
On Windows, Visual Studio 2017 or later is required.
39+
Tcl/Tk version 8.5.12 is now required for the :mod:`tkinter` module.
2840

2941
.. versionchanged:: 3.10
3042
OpenSSL 1.1.1 is now required.
43+
Require SQLite 3.7.15.
3144

3245
.. versionchanged:: 3.7
3346
Thread support and OpenSSL 1.0.2 are now required.
@@ -37,7 +50,11 @@ Features required to build CPython:
3750
inline`` functions.
3851

3952
.. versionchanged:: 3.5
40-
On Windows, Visual Studio 2015 or later is required.
53+
On Windows, Visual Studio 2015 or later is now required.
54+
Tcl/Tk version 8.4 is now required.
55+
56+
.. versionchanged:: 3.1
57+
Tcl/Tk version 8.3.1 is now required.
4158

4259
See also :pep:`7` "Style Guide for C Code" and :pep:`11` "CPython platform
4360
support".
@@ -48,7 +65,7 @@ support".
4865
Configure Options
4966
=================
5067

51-
List all ``./configure`` script options using::
68+
List all :file:`configure` script options using::
5269

5370
./configure --help
5471

Doc/whatsnew/3.13.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -822,7 +822,7 @@ Build Changes
822822
=============
823823

824824
* Autoconf 2.71 and aclocal 1.16.4 is now required to regenerate
825-
:file:`!configure`.
825+
the :file:`configure` script.
826826
(Contributed by Christian Heimes in :gh:`89886`.)
827827

828828
* SQLite 3.15.2 or newer is required to build the :mod:`sqlite3` extension module.

0 commit comments

Comments
 (0)