Skip to content

Commit 8f14bdd

Browse files
StanFromIrelandemmatypingvstinner
authored
gh-139823: Extend list of optional dependencies in configure.rst (#139826)
Co-authored-by: Emma Smith <[email protected]> Co-authored-by: Victor Stinner <[email protected]>
1 parent 1f87d52 commit 8f14bdd

File tree

1 file changed

+39
-4
lines changed

1 file changed

+39
-4
lines changed

Doc/using/configure.rst

Lines changed: 39 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,51 @@ Features and minimum versions required to build CPython:
2222

2323
* Support for threads.
2424

25-
* OpenSSL 1.1.1 is the minimum version and OpenSSL 3.0.18 is the recommended
26-
minimum version for the :mod:`ssl` and :mod:`hashlib` extension modules.
25+
To build optional modules:
2726

28-
* SQLite 3.15.2 for the :mod:`sqlite3` extension module.
27+
* `libbz2 <https://sourceware.org/bzip2/>`_ for the :mod:`bz2` module.
2928

30-
* Tcl/Tk 8.5.12 for the :mod:`tkinter` module.
29+
* `libb2 <https://github.com/BLAKE2/libb2>`_ (:ref:`BLAKE2 <hashlib-blake2>`),
30+
used by :mod:`hashlib` module.
31+
32+
* `libffi <https://sourceware.org/libffi/>`_ 3.3.0 is the recommended
33+
minimum version for the :mod:`ctypes` module.
34+
35+
* ``liblzma``, for the :mod:`lzma` module.
3136

3237
* `libmpdec <https://www.bytereef.org/mpdecimal/doc/libmpdec/>`_ 2.5.0
3338
for the :mod:`decimal` module.
3439

40+
* ``libncurses`` or ``libncursesw``,
41+
for the :mod:`curses` module.
42+
43+
* ``libpanel`` or ``libpanelw``,
44+
for the :mod:`curses.panel` module.
45+
46+
* `libreadline <https://tiswww.case.edu/php/chet/readline/rltop.html>`_ or
47+
`libedit <https://www.thrysoee.dk/editline/>`_
48+
for the :mod:`readline` module.
49+
50+
* `libuuid <https://linux.die.net/man/3/libuuid>`_, for the :mod:`uuid` module.
51+
52+
* `OpenSSL <https://www.openssl.org/>`_ 1.1.1 is the minimum version and
53+
OpenSSL 3.0.18 is the recommended minimum version for the
54+
:mod:`ssl` and :mod:`hashlib` extension modules.
55+
56+
* `SQLite <https://sqlite.org/>`_ 3.15.2 for the :mod:`sqlite3` extension module.
57+
58+
* `Tcl/Tk <https://www.tcl-lang.org/>`_ 8.5.12 for the :mod:`tkinter` module.
59+
60+
* `zlib <https://www.zlib.net>`_ 1.1.4 is the reccomended minimum version for the
61+
:mod:`zlib` module.
62+
63+
* `zstd <https://facebook.github.io/zstd/>`_ 1.4.5 is the minimum version for
64+
the :mod:`compression.zstd` module.
65+
66+
For a full list of dependencies required to build all modules and how to install
67+
them, see the
68+
`devguide <https://devguide.python.org/getting-started/setup-building/#install-dependencies>`_.
69+
3570
* Autoconf 2.72 and aclocal 1.16.5 are required to regenerate the
3671
:file:`configure` script.
3772

0 commit comments

Comments
 (0)