Skip to content

Commit 7a2db76

Browse files
[3.13] gh-125625: Check for py -3.13 in PCbuild/find_python.bat (GH-125650)
(cherry picked from commit 0cb20f2) Co-authored-by: Wulian <[email protected]>
1 parent 253d69f commit 7a2db76

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