Skip to content

Commit 8f72f33

Browse files
[3.12] gh-125625: Check for py -3.13 in PCbuild/find_python.bat (GH-125649)
(cherry picked from commit 0cb20f2) Co-authored-by: Wulian <[email protected]>
1 parent fb1b92b commit 8f72f33

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
@@ -44,7 +44,7 @@
4444
@rem If py.exe finds a recent enough version, use that one
4545
@rem It is fine to add new versions to this list when they have released,
4646
@rem but we do not use prerelease builds here.
47-
@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
47+
@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
4848

4949
@if NOT exist "%_Py_EXTERNALS_DIR%" mkdir "%_Py_EXTERNALS_DIR%"
5050
@set _Py_NUGET=%NUGET%

0 commit comments

Comments
 (0)