From c9bc6a5712f472757b2b091e045fe4c19a97e805 Mon Sep 17 00:00:00 2001 From: Stan Ulbrych Date: Thu, 9 Oct 2025 08:36:17 +0100 Subject: [PATCH 1/6] Commit --- Doc/using/configure.rst | 38 ++++++++++++++++++++++++++++++++++++-- 1 file changed, 36 insertions(+), 2 deletions(-) diff --git a/Doc/using/configure.rst b/Doc/using/configure.rst index b05e0600114757..ec40a64ed37be3 100644 --- a/Doc/using/configure.rst +++ b/Doc/using/configure.rst @@ -22,6 +22,11 @@ Features and minimum versions required to build CPython: * Support for threads. +* Autoconf 2.72 and aclocal 1.16.5 are required to regenerate the + :file:`configure` script. + +To build optional modules: + * OpenSSL 1.1.1 is the minimum version and OpenSSL 3.0.18 is the recommended minimum version for the :mod:`ssl` and :mod:`hashlib` extension modules. @@ -29,11 +34,40 @@ Features and minimum versions required to build CPython: * Tcl/Tk 8.5.12 for the :mod:`tkinter` module. +* ``libbz2`` for the :mod:`bz2` module. + +* `libuuid `_, for the :mod:`uuid` module. + +* ``libncurses`` or ``libncursesw``, + for the :mod:`curses` module. + +* ``libpanel`` or ``libpanelw``, + for the :mod:`curses.panel` module. + * `libmpdec `_ 2.5.0 for the :mod:`decimal` module. -* Autoconf 2.72 and aclocal 1.16.5 are required to regenerate the - :file:`configure` script. +* `libffi `_ 3.3.0 is the recommended + minimum version for the :mod:`ctypes` module. + +* ``liblzma``, for the :mod:`lzma` module. + +* `libedit `_ and + `libreadline `_ + for the :mod:`readline` module. + +* `libb2 `_ (:ref:`BLAKE2 `), + used by :mod:`hashlib` module. + +* `zlib `_ 1.1.4 is the reccomended minimum version for the + :mod:`zlib` module. + +* `zstd `_ 1.4.5 is the minimum version for + the :mod:`compression.ztsd` module. + +For a full list of dependencies required to build all modules and how to install +them, see the +`devguide `_. .. versionchanged:: 3.1 Tcl/Tk version 8.3.1 is now required. From 436cae1d2715c4c1c236e52ecfe7173673712960 Mon Sep 17 00:00:00 2001 From: Stan Ulbrych Date: Thu, 9 Oct 2025 08:53:58 +0100 Subject: [PATCH 2/6] Commit --- Doc/using/configure.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/using/configure.rst b/Doc/using/configure.rst index ec40a64ed37be3..b5488930b13ba1 100644 --- a/Doc/using/configure.rst +++ b/Doc/using/configure.rst @@ -63,7 +63,7 @@ To build optional modules: :mod:`zlib` module. * `zstd `_ 1.4.5 is the minimum version for - the :mod:`compression.ztsd` module. + the :mod:`compression.zstd` module. For a full list of dependencies required to build all modules and how to install them, see the From 915ec0aaa76f95e699a1d16b760894717c95cfdc Mon Sep 17 00:00:00 2001 From: Stan Ulbrych Date: Thu, 9 Oct 2025 17:18:14 +0100 Subject: [PATCH 3/6] Victor's review --- Doc/using/configure.rst | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/Doc/using/configure.rst b/Doc/using/configure.rst index b5488930b13ba1..0120d6066e9e61 100644 --- a/Doc/using/configure.rst +++ b/Doc/using/configure.rst @@ -22,21 +22,24 @@ Features and minimum versions required to build CPython: * Support for threads. -* Autoconf 2.72 and aclocal 1.16.5 are required to regenerate the - :file:`configure` script. - To build optional modules: -* OpenSSL 1.1.1 is the minimum version and OpenSSL 3.0.18 is the recommended - minimum version for the :mod:`ssl` and :mod:`hashlib` extension modules. +* ``libbz2`` for the :mod:`bz2` module. -* SQLite 3.15.2 for the :mod:`sqlite3` extension module. +* `libb2 `_ (:ref:`BLAKE2 `), + used by :mod:`hashlib` module. -* Tcl/Tk 8.5.12 for the :mod:`tkinter` module. +* `libedit `_ and + `libreadline `_ + for the :mod:`readline` module. -* ``libbz2`` for the :mod:`bz2` module. +* `libffi `_ 3.3.0 is the recommended + minimum version for the :mod:`ctypes` module. -* `libuuid `_, for the :mod:`uuid` module. +* ``liblzma``, for the :mod:`lzma` module. + +* `libmpdec `_ 2.5.0 + for the :mod:`decimal` module. * ``libncurses`` or ``libncursesw``, for the :mod:`curses` module. @@ -44,20 +47,14 @@ To build optional modules: * ``libpanel`` or ``libpanelw``, for the :mod:`curses.panel` module. -* `libmpdec `_ 2.5.0 - for the :mod:`decimal` module. - -* `libffi `_ 3.3.0 is the recommended - minimum version for the :mod:`ctypes` module. +* `libuuid `_, for the :mod:`uuid` module. -* ``liblzma``, for the :mod:`lzma` module. +* OpenSSL 1.1.1 is the minimum version and OpenSSL 3.0.18 is the recommended + minimum version for the :mod:`ssl` and :mod:`hashlib` extension modules. -* `libedit `_ and - `libreadline `_ - for the :mod:`readline` module. +* SQLite 3.15.2 for the :mod:`sqlite3` extension module. -* `libb2 `_ (:ref:`BLAKE2 `), - used by :mod:`hashlib` module. +* Tcl/Tk 8.5.12 for the :mod:`tkinter` module. * `zlib `_ 1.1.4 is the reccomended minimum version for the :mod:`zlib` module. @@ -69,6 +66,9 @@ For a full list of dependencies required to build all modules and how to install them, see the `devguide `_. +* Autoconf 2.72 and aclocal 1.16.5 are required to regenerate the + :file:`configure` script. + .. versionchanged:: 3.1 Tcl/Tk version 8.3.1 is now required. From 3c3009828620de9619ac3716b98e12e117808ef2 Mon Sep 17 00:00:00 2001 From: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com> Date: Fri, 10 Oct 2025 07:33:09 +0100 Subject: [PATCH 4/6] Apply suggestions from code review Co-authored-by: Emma Smith Co-authored-by: Victor Stinner --- Doc/using/configure.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Doc/using/configure.rst b/Doc/using/configure.rst index 0120d6066e9e61..c96ac10e86d1c1 100644 --- a/Doc/using/configure.rst +++ b/Doc/using/configure.rst @@ -24,12 +24,12 @@ Features and minimum versions required to build CPython: To build optional modules: -* ``libbz2`` for the :mod:`bz2` module. +* `libbz2 `_ for the :mod:`bz2` module. * `libb2 `_ (:ref:`BLAKE2 `), used by :mod:`hashlib` module. -* `libedit `_ and +* `libedit `_ or `libreadline `_ for the :mod:`readline` module. @@ -42,10 +42,10 @@ To build optional modules: for the :mod:`decimal` module. * ``libncurses`` or ``libncursesw``, - for the :mod:`curses` module. + for the :mod:`curses` module. * ``libpanel`` or ``libpanelw``, - for the :mod:`curses.panel` module. + for the :mod:`curses.panel` module. * `libuuid `_, for the :mod:`uuid` module. From 5a3000b64dfb3594207320655716d8f99670c9c8 Mon Sep 17 00:00:00 2001 From: Stan Ulbrych Date: Fri, 10 Oct 2025 07:37:06 +0100 Subject: [PATCH 5/6] Victor's review comments --- Doc/using/configure.rst | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/Doc/using/configure.rst b/Doc/using/configure.rst index c96ac10e86d1c1..a03a20b7378cb7 100644 --- a/Doc/using/configure.rst +++ b/Doc/using/configure.rst @@ -21,17 +21,13 @@ Features and minimum versions required to build CPython: `_. * Support for threads. - +abcdefghijklmnopq r stuvwxyz To build optional modules: * `libbz2 `_ for the :mod:`bz2` module. * `libb2 `_ (:ref:`BLAKE2 `), - used by :mod:`hashlib` module. - -* `libedit `_ or - `libreadline `_ - for the :mod:`readline` module. + used by :mod:`hashlib` module. * `libffi `_ 3.3.0 is the recommended minimum version for the :mod:`ctypes` module. @@ -47,14 +43,19 @@ To build optional modules: * ``libpanel`` or ``libpanelw``, for the :mod:`curses.panel` module. +* `libreadline `_ or + `libedit `_ + for the :mod:`readline` module. + * `libuuid `_, for the :mod:`uuid` module. -* OpenSSL 1.1.1 is the minimum version and OpenSSL 3.0.18 is the recommended - minimum version for the :mod:`ssl` and :mod:`hashlib` extension modules. +* `OpenSSL `_ 1.1.1 is the minimum version and + OpenSSL 3.0.18 is the recommended minimum version for the + :mod:`ssl` and :mod:`hashlib` extension modules. -* SQLite 3.15.2 for the :mod:`sqlite3` extension module. +* `SQLite `_ 3.15.2 for the :mod:`sqlite3` extension module. -* Tcl/Tk 8.5.12 for the :mod:`tkinter` module. +* `Tcl/Tk `_ 8.5.12 for the :mod:`tkinter` module. * `zlib `_ 1.1.4 is the reccomended minimum version for the :mod:`zlib` module. From e9f92396623629bac6a685018ee32c4ea5822e64 Mon Sep 17 00:00:00 2001 From: Stan Ulbrych Date: Fri, 10 Oct 2025 07:39:36 +0100 Subject: [PATCH 6/6] Achilles' heel --- Doc/using/configure.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/using/configure.rst b/Doc/using/configure.rst index a03a20b7378cb7..01537951aebb62 100644 --- a/Doc/using/configure.rst +++ b/Doc/using/configure.rst @@ -21,7 +21,7 @@ Features and minimum versions required to build CPython: `_. * Support for threads. -abcdefghijklmnopq r stuvwxyz + To build optional modules: * `libbz2 `_ for the :mod:`bz2` module.