Skip to content

Commit 146106a

Browse files
gh-104487: PYTHON_FOR_REGEN must be minimum Python 3.10 (#104488)
Also include Python 3.12 in the list of accepted versions.
1 parent 27d8ecd commit 146106a

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-2
lines changed

Doc/whatsnew/3.12.rst

+2
Original file line numberDiff line numberDiff line change
@@ -1204,6 +1204,8 @@ Build Changes
12041204

12051205
(Contributed by Zhang Na in :gh:`90656`.)
12061206

1207+
* ``PYTHON_FOR_REGEN`` now require Python 3.10 or newer.
1208+
12071209

12081210
C API Changes
12091211
=============
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
``PYTHON_FOR_REGEN`` now require Python 3.10 or newer.

configure

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

configure.ac

+1-1
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ AC_SUBST([FREEZE_MODULE_DEPS])
202202
AC_SUBST([PYTHON_FOR_BUILD_DEPS])
203203

204204
AC_CHECK_PROGS([PYTHON_FOR_REGEN],
205-
[python$PACKAGE_VERSION python3.11 python3.10 python3.9 python3.8 python3.7 python3.6 python3 python],
205+
[python$PACKAGE_VERSION python3.12 python3.11 python3.10 python3 python],
206206
[python3])
207207
AC_SUBST(PYTHON_FOR_REGEN)
208208

0 commit comments

Comments
 (0)