8000 gh-115543: Update py.exe to know about Python 3.13 and to install 3.1… · woodruffw-forks/cpython@452f898 · GitHub
[go: up one dir, main page]

Skip to content

Commit 452f898

Browse files
zoobawoodruffw
authored andcommitted
pythongh-115543: Update py.exe to know about Python 3.13 and to install 3.12 by default (pythonGH-115544)
1 parent e89a107 commit 452f898

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
:ref:`launcher` can now detect Python 3.13 when installed from the Microsoft
2+
Store, and will install Python 3.12 by default when
3+
:envvar:`PYLAUNCHER_ALLOW_INSTALL` is set.

PC/launcher2.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1962,6 +1962,7 @@ struct AppxSearchInfo {
19621962

19631963
struct AppxSearchInfo APPX_SEARCH[] = {
19641964
// Releases made through the Store
1965+
{ L"PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0", L"3.13", 10 },
19651966
{ L"PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0", L"3.12", 10 },
19661967
{ L"PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0", L"3.11", 10 },
19671968
{ L"PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0", L"3.10", 10 },
@@ -1971,6 +1972,7 @@ struct AppxSearchInfo APPX_SEARCH[] = {
19711972
// Side-loadable releases. Note that the publisher ID changes whenever we
19721973
// renew our code-signing certificate, so the newer ID has a higher
19731974
// priority (lower sortKey)
1975+
{ L"PythonSoftwareFoundation.Python.3.13_3847v3x7pw1km", L"3.13", 11 },
19741976
{ L"PythonSoftwareFoundation.Python.3.12_3847v3x7pw1km", L"3.12", 11 },
19751977
{ L"PythonSoftwareFoundation.Python.3.11_3847v3x7pw1km", L"3.11", 11 },
19761978
{ L"PythonSoftwareFoundation.Python.3.11_hd69rhyc2wevp", L"3.11", 12 },
@@ -2052,7 +2054,8 @@ struct StoreSearchInfo {
20522054

20532055

20542056
struct StoreSearchInfo STORE_SEARCH[] = {
2055-
{ L"3", /* 3.11 */ L"9NRWMJP3717K" },
2057+
{ L"3", /* 3.12 */ L"9NCVDN91XZQP" },
2058+
{ L"3.13", L"9PNRBTZXMB4Z" },
20562059
{ L"3.12", L"9NCVDN91XZQP" },
20572060
{ L"3.11", L"9NRWMJP3717K" },
20582061
{ L"3.10", L"9PJPW5LDXLZ5" },

0 commit comments

Comments
 (0)
0