]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.14] GH-137618: Require Python 3.10 to Python 3.15 for PYTHON_FOR_REGEN (GH-137619...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 12 Nov 2025 01:33:49 +0000 (02:33 +0100)
committerGitHub <noreply@github.com>
Wed, 12 Nov 2025 01:33:49 +0000 (17:33 -0800)
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 <9087854+AA-Turner@users.noreply.github.com>
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 2c403f4965ddfe24020d0cc91ea6e9b586f2a63d..fb92ea2c61febdc2cfba1a2e0c24ef4bbec2d419 100755 (executable)
--- 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
index 07b005bacaf279fcdaebff12395899d982904961..0742ba7f6d1498e2283868d4439a03bb16b7ae72 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])