]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] gh-125625: Check for `py -3.13` in PCbuild/find_python.bat (GH-125649)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 17 Oct 2024 16:01:55 +0000 (18:01 +0200)
committerGitHub <noreply@github.com>
Thu, 17 Oct 2024 16:01:55 +0000 (16:01 +0000)
(cherry picked from commit 0cb20f2e7e867d5c34fc17dd5b8e51e8b0020bb3)

Co-authored-by: Wulian <xiguawulian@gmail.com>
PCbuild/find_python.bat

index d8c7cec15ef5fe4f8c2a3ed47ad0952031094b9a..0af367a3efafad2621502871d9d0c7439c7394a6 100644 (file)
@@ -44,7 +44,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%