]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-139769: Update `PCBuild/find_python.bat` to allow discovery of Python 3.14 (GH...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 8 Oct 2025 15:23:17 +0000 (17:23 +0200)
committerGitHub <noreply@github.com>
Wed, 8 Oct 2025 15:23:17 +0000 (15:23 +0000)
Enable 3.14 py.exe can be use on PCBuild
(cherry picked from commit 570d17259f824302d20567a3a2f32c67ebdaefcd)

Co-authored-by: Wulian233 <1055917385@qq.com>
PCbuild/find_python.bat

index d65d080ca71a901f546fdacf43dacee2e5c0b6e4..841d83968c60be8f412721dfa4a862a0fa1c384f 100644 (file)
@@ -47,7 +47,7 @@
 @rem If py.exe finds a recent enough version, use that one
 @rem It is fine to add new versions to this list when they have released,
 @rem but we do not use prerelease builds here.
-@for %%p in (3.13 3.12 3.11 3.10) do @py -%%p -EV >nul 2>&1 && (set PYTHON=py -%%p) && (set _Py_Python_Source=found %%p with py.exe) && goto :found
+@for %%p in (3.14 3.13 3.12 3.11 3.10) do @py -%%p -EV >nul 2>&1 && (set PYTHON=py -%%p) && (set _Py_Python_Source=found %%p with py.exe) && goto :found
 
 @if NOT exist "%_Py_EXTERNALS_DIR%" mkdir "%_Py_EXTERNALS_DIR%"
 @set _Py_NUGET=%NUGET%