]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-125625: Check for `py -3.13` in PCbuild/find_python.bat (GH-125626)
authorWulian <xiguawulian@gmail.com>
Thu, 17 Oct 2024 15:40:30 +0000 (23:40 +0800)
committerGitHub <noreply@github.com>
Thu, 17 Oct 2024 15:40:30 +0000 (10:40 -0500)
PCbuild/find_python.bat

index 6db579fa8de08af120095bbd7b9df72d8e3ea221..d65d080ca71a901f546fdacf43dacee2e5c0b6e4 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.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.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%