@@ -412,7 +412,7 @@ build you ultimately care about (that is, the build Python is not meant for use
412412by you directly, only the build system).
413413
414414The easiest way to get a debug build of CPython for WASI is to run the
415- following command with Python 3.11 or newer :
415+ following command:
416416
417417.. tab :: Python 3.15+
418418
@@ -882,48 +882,26 @@ some of CPython's modules (for example, ``zlib``).
882882
883883 $ brew bundle --file=Misc/Brewfile
884884
885- .. tab :: Python 3.11+
885+ Then configure::
886886
887- For Python 3.11 and newer::
888-
889- $ GDBM_CFLAGS="-I$(brew --prefix gdbm)/include" \
890- GDBM_LIBS="-L$(brew --prefix gdbm)/lib -lgdbm" \
891- ./configure --config-cache \
892- --with-pydebug \
893- --with-openssl="$(brew --prefix openssl@3)"
894-
895- .. tab :: Python 3.10
896-
897- For Python 3.10::
898-
899- $ CPPFLAGS="-I$(brew --prefix gdbm)/include -I$(brew --prefix xz)/include" \
900- LDFLAGS="-L$(brew --prefix gdbm)/lib -L$(brew --prefix xz)/lib" \
901- ./configure --config-cache \
902- --with-pydebug \
903- --with-openssl="$(brew --prefix openssl@3)" \
904- --with-tcltk-libs="$(pkg-config --libs tcl tk)" \
905- --with-tcltk-includes="$(pkg-config --cflags tcl tk)" \
906- --with-dbmliborder=gdbm:ndbm
907-
908- (``--with-dbmliborder `` is a workaround for a Homebrew-specific change
909- to ``gdbm ``; see `#89452 <https://github.com/python/cpython/issues/89452 >`__
910- for details.)
887+ $ GDBM_CFLAGS="-I$(brew --prefix gdbm)/include" \
888+ GDBM_LIBS="-L$(brew --prefix gdbm)/lib -lgdbm" \
889+ ./configure --config-cache \
890+ --with-pydebug \
891+ --with-openssl="$(brew --prefix openssl@3)"
911892
912893 .. tab :: MacPorts
913894
914895 For **MacPorts **, install dependencies using ``port ``::
915896
916897 $ sudo port install pkgconfig openssl xz gdbm tk +quartz mpdecimal zstd
917898
918- .. tab :: Python 3.11+
919-
920- For Python 3.11 and newer::
921-
922- $ GDBM_CFLAGS="-I$(dirname $(dirname $(which port)))/include" \
923- GDBM_LIBS="-L$(dirname $(dirname $(which port)))/lib -lgdbm" \
924- ./configure --config-cache \
925- --with-pydebug
899+ Then configure::
926900
901+ $ GDBM_CFLAGS="-I$(dirname $(dirname $(which port)))/include" \
902+ GDBM_LIBS="-L$(dirname $(dirname $(which port)))/lib -lgdbm" \
903+ ./configure --config-cache \
904+ --with-pydebug
927905
928906 And finally, run ``make ``::
929907
@@ -996,7 +974,7 @@ make sure you also commit the changes in the generated files.
996974Python's :file: `configure.ac ` script requires a specific version of
997975GNU Autoconf.
998976For Python 3.12 and newer, GNU Autoconf v2.71 is required.
999- For Python 3.11 and earlier , GNU Autoconf v2.69 is required.
977+ For Python 3.11, GNU Autoconf v2.69 is required.
1000978
1001979The recommended and by far the easiest way to regenerate :file: `configure ` is::
1002980
0 commit comments