gh-104487: PYTHON_FOR_REGEN must be minimum Python 3.10 (#104488)

Also include Python 3.12 in the list of accepted versions.
This commit is contained in:
Erlend E. Aasland 2023-05-15 10:02:44 +02:00 committed by GitHub
parent 27d8ecd7f3
commit 146106a0f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 2 deletions

View file

@ -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
=============

View file

@ -0,0 +1 @@
``PYTHON_FOR_REGEN`` now require Python 3.10 or newer.

2
configure generated vendored
View file

@ -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

View file

@ -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)