Skip to content

Commit

Permalink
gh-104487: PYTHON_FOR_REGEN must be minimum Python 3.10 (#104488)
Browse files Browse the repository at this point in the history
Also include Python 3.12 in the list of accepted versions.
  • Loading branch information
erlend-aasland authored May 15, 2023
1 parent 27d8ecd commit 146106a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Doc/whatsnew/3.12.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
=============
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
``PYTHON_FOR_REGEN`` now require Python 3.10 or newer.
2 changes: 1 addition & 1 deletion configure

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 146106a

Please sign in to comment.