@@ -841,8 +841,11 @@ some of CPython's modules (for example, ``zlib``).
841841 inetutils-inetd
842842
843843 Note that Debian 12 and Ubuntu 24.04 do not have the ``libmpdec-dev ``
844- package. You can safely remove it from the install list above and the
845- Python build will use a bundled version. But we recommend using the system
844+ package. You can remove it from the install list above: for Python 3.15
845+ and older, the build will use a bundled version; for Python 3.16 and
846+ newer, the bundled copy has been removed and the :mod: `decimal ` module
847+ will fall back to its slower pure-Python implementation. We recommend
848+ using the system
846849 `libmpdec <https://www.bytereef.org/mpdecimal/doc/libmpdec/ >`__ library.
847850 Either build it from sources or install this package from
848851 https://deb.sury.org.
@@ -912,25 +915,16 @@ some of CPython's modules (for example, ``zlib``).
912915
913916 $ sudo port install pkgconfig openssl xz gdbm tk +quartz mpdecimal zstd
914917
915- .. tab :: Python 3.13+
916-
917- For Python 3.13 and newer::
918-
919- $ GDBM_CFLAGS="-I$(dirname $(dirname $(which port)))/include" \
920- GDBM_LIBS="-L$(dirname $(dirname $(which port)))/lib -lgdbm" \
921- ./configure --config-cache \
922- --with-pydebug \
923- --with-system-libmpdec
924-
925- .. tab :: Python 3.11-3.12
918+ .. tab :: Python 3.11+
926919
927- For Python 3.11 and 3.12 ::
920+ For Python 3.11 and newer ::
928921
929922 $ GDBM_CFLAGS="-I$(dirname $(dirname $(which port)))/include" \
930923 GDBM_LIBS="-L$(dirname $(dirname $(which port)))/lib -lgdbm" \
931924 ./configure --config-cache \
932925 --with-pydebug
933926
927+
934928 And finally, run ``make ``::
935929
936930 $ make -s -j8
0 commit comments