]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
GH-137618: Require Python 3.10 to Python 3.15 for PYTHON_FOR_REGEN (GH-137619)
authorAdam Turner <9087854+AA-Turner@users.noreply.github.com>
Wed, 12 Nov 2025 00:53:21 +0000 (00:53 +0000)
committerGitHub <noreply@github.com>
Wed, 12 Nov 2025 00:53:21 +0000 (00:53 +0000)
* Require Python 3.11 to Python 3.15 for PYTHON_FOR_REGEN

* NEWS

* keep allowing python 3.10

---------

Co-authored-by: Gregory P. Smith <greg@krypto.org>
Misc/NEWS.d/next/Build/2025-08-10-22-28-06.gh-issue-137618.FdNvIE.rst [new file with mode: 0644]
configure
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 (file)
index 0000000..0b56c4c
--- /dev/null
@@ -0,0 +1,2 @@
+``PYTHON_FOR_REGEN`` now requires Python 3.10 to Python 3.15.\r
+Patch by Adam Turner.\r
index 8463b5b5e4a9d00e6c3d818ad8ea064589fd6436..eeb24c1d844e864068da13b93c199b68fd8f4b39 100755 (executable)
--- a/configure
+++ b/configure
@@ -3818,7 +3818,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
index df94ae25e63561a234d409960f5b9d54865edd9b..92adc44da0d6fed228ccfceea22f7f7503934c1d 100644 (file)
@@ -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])