https://github.com/python/cpython/commit/df045716e0b4475b05a59eee69fbc077f2edc819
commit: df045716e0b4475b05a59eee69fbc077f2edc819
branch: 3.14
author: Miss Islington (bot) <[email protected]>
committer: gpshead <[email protected]>
date: 2025-11-11T17:33:49-08:00
summary:

[3.14] GH-137618: Require Python 3.10 to Python 3.15 for PYTHON_FOR_REGEN 
(GH-137619) (#141437)

GH-137618: Require Python 3.10 to Python 3.15 for PYTHON_FOR_REGEN (GH-137619)

* Require Python 3.11 to Python 3.15 for PYTHON_FOR_REGEN

* NEWS

* keep allowing python 3.10

---------
(cherry picked from commit 9ce99c6c1901705238e4cb3ce81eb6f499e7b4f4)

Co-authored-by: Adam Turner <[email protected]>
Co-authored-by: Gregory P. Smith <[email protected]>

files:
A Misc/NEWS.d/next/Build/2025-08-10-22-28-06.gh-issue-137618.FdNvIE.rst
M configure
M configure.ac

diff --git 
a/Misc/NEWS.d/next/Build/2025-08-10-22-28-06.gh-issue-137618.FdNvIE.rst 
b/Misc/NEWS.d/next/Build/2025-08-10-22-28-06.gh-issue-137618.FdNvIE.rst
new file mode 100644
index 00000000000000..0b56c4c8f68566
--- /dev/null
+++ b/Misc/NEWS.d/next/Build/2025-08-10-22-28-06.gh-issue-137618.FdNvIE.rst
@@ -0,0 +1,2 @@
+``PYTHON_FOR_REGEN`` now requires Python 3.10 to Python 3.15.
+Patch by Adam Turner.
diff --git a/configure b/configure
index 2c403f4965ddfe..fb92ea2c61febd 100755
--- a/configure
+++ b/configure
@@ -3816,7 +3816,7 @@ fi
 
 
 
-for ac_prog in python$PACKAGE_VERSION python3.13 python3.12 python3.11 
python3.10 python3 python
+for ac_prog in python$PACKAGE_VERSION python3.15 python3.14 python3.13 
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 07b005bacaf279..0742ba7f6d1498 100644
--- a/configure.ac
+++ b/configure.ac
@@ -205,7 +205,7 @@ AC_SUBST([FREEZE_MODULE_DEPS])
 AC_SUBST([PYTHON_FOR_BUILD_DEPS])
 
 AC_CHECK_PROGS([PYTHON_FOR_REGEN],
-  [python$PACKAGE_VERSION python3.13 python3.12 python3.11 python3.10 python3 
python],
+  [python$PACKAGE_VERSION python3.15 python3.14 python3.13 python3.12 
python3.11 python3.10 python3 python],
   [python3])
 AC_SUBST([PYTHON_FOR_REGEN])
 

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to