Skip to content

Commit ed25cce

Browse files
Wulian233miss-islington
authored andcommitted
gh-159113: Update PCBuild/find_python.bat to allow discovery of Python 3.14 and 3.15 (GH-159114)
(cherry picked from commit 9c15cc9) Co-authored-by: Wulian233 <1055917385@qq.com>
1 parent d0888f9 commit ed25cce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎PCbuild/find_python.bat‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
@rem If py.exe finds a recent enough version, use that one
4848
@rem It is fine to add new versions to this list when they have released,
4949
@rem but we do not use prerelease builds here.
50-
@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
50+
@for %%p in (3.15 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
5151

5252
@if NOT exist "%_Py_EXTERNALS_DIR%" mkdir "%_Py_EXTERNALS_DIR%"
5353
@set _Py_NUGET=%NUGET%

0 commit comments

Comments
 (0)