Skip to content

Commit b6c14bc

Browse files
gh-139769: Update PCBuild/find_python.bat to allow discovery of Python 3.14 (GH-139770)
Enable 3.14 py.exe can be use on PCBuild (cherry picked from commit 570d172) Co-authored-by: Wulian233 <[email protected]>
1 parent 5a98f85 commit b6c14bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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.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.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)