diff options
author | Erlend E. Aasland <erlend.aasland@protonmail.com> | 2023-05-15 08:02:44 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-15 08:02:44 (GMT) |
commit | 146106a0f1cc61815fa33f0d3f808a3e3e3275be (patch) | |
tree | ed210372a4a681a10633522c668f12c266bd4495 | |
parent | 27d8ecd7f3325a40a967d2d6b6b36b21d5328753 (diff) | |
download | cpython-146106a0f1cc61815fa33f0d3f808a3e3e3275be.zip cpython-146106a0f1cc61815fa33f0d3f808a3e3e3275be.tar.gz cpython-146106a0f1cc61815fa33f0d3f808a3e3e3275be.tar.bz2 |
gh-104487: PYTHON_FOR_REGEN must be minimum Python 3.10 (#104488)
Also include Python 3.12 in the list of accepted versions.
-rw-r--r-- | Doc/whatsnew/3.12.rst | 2 | ||||
-rw-r--r-- | Misc/NEWS.d/next/Build/2023-05-15-09-34-08.gh-issue-99017.nToOQu.rst | 1 | ||||
-rwxr-xr-x | configure | 2 | ||||
-rw-r--r-- | configure.ac | 2 |
4 files changed, 5 insertions, 2 deletions
diff --git a/Doc/whatsnew/3.12.rst b/Doc/whatsnew/3.12.rst index dc11788..3e55b3f 100644 --- a/Doc/whatsnew/3.12.rst +++ b/Doc/whatsnew/3.12.rst @@ -1204,6 +1204,8 @@ Build Changes (Contributed by Zhang Na in :gh:`90656`.) +* ``PYTHON_FOR_REGEN`` now require Python 3.10 or newer. + C API Changes ============= diff --git a/Misc/NEWS.d/next/Build/2023-05-15-09-34-08.gh-issue-99017.nToOQu.rst b/Misc/NEWS.d/next/Build/2023-05-15-09-34-08.gh-issue-99017.nToOQu.rst new file mode 100644 index 0000000..a3517ac --- /dev/null +++ b/Misc/NEWS.d/next/Build/2023-05-15-09-34-08.gh-issue-99017.nToOQu.rst @@ -0,0 +1 @@ +``PYTHON_FOR_REGEN`` now require Python 3.10 or newer. @@ -3359,7 +3359,7 @@ fi -for ac_prog in python$PACKAGE_VERSION python3.11 python3.10 python3.9 python3.8 python3.7 python3.6 python3 python +for ac_prog in python$PACKAGE_VERSION python3.12 python3.11 python3.10 python3 python do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 diff --git a/configure.ac b/configure.ac index 0c63cde..115998e 100644 --- a/configure.ac +++ b/configure.ac @@ -202,7 +202,7 @@ AC_SUBST([FREEZE_MODULE_DEPS]) AC_SUBST([PYTHON_FOR_BUILD_DEPS]) AC_CHECK_PROGS([PYTHON_FOR_REGEN], - [python$PACKAGE_VERSION python3.11 python3.10 python3.9 python3.8 python3.7 python3.6 python3 python], + [python$PACKAGE_VERSION python3.12 python3.11 python3.10 python3 python], [python3]) AC_SUBST(PYTHON_FOR_REGEN) |