Skip to content

Commit 42b8e52

Browse files
gh-125550: Enable py.exe to detect Store installs of 3.14 (GH-125551)
(cherry picked from commit 8e7b2a1) Co-authored-by: Steve Dower <[email protected]>
1 parent 4256847 commit 42b8e52

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Enable the :ref:`launcher` to detect Python 3.14 installs from the Windows
2+
Store.

PC/launcher2.c

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1938,6 +1938,7 @@ struct AppxSearchInfo {
19381938

19391939
struct AppxSearchInfo APPX_SEARCH[] = {
19401940
// Releases made through the Store
1941+
{ L"PythonSoftwareFoundation.Python.3.14_qbz5n2kfra8p0", L"3.14", 10 },
19411942
{ L"PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0", L"3.13", 10 },
19421943
{ L"PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0", L"3.12", 10 },
19431944
{ L"PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0", L"3.11", 10 },
@@ -1946,8 +1947,9 @@ struct AppxSearchInfo APPX_SEARCH[] = {
19461947
{ L"PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0", L"3.8", 10 },
19471948

19481949
// Side-loadable releases. Note that the publisher ID changes whenever we
1949-
// renew our code-signing certificate, so the newer ID has a higher
1950-
// priority (lower sortKey)
1950+
// change our code signing certificate subject, so the newer IDs have higher
1951+
// priorities (lower sortKey)
1952+
{ L"PythonSoftwareFoundation.Python.3.14_3847v3x7pw1km", L"3.14", 11 },
19511953
{ L"PythonSoftwareFoundation.Python.3.13_3847v3x7pw1km", L"3.13", 11 },
19521954
{ L"PythonSoftwareFoundation.Python.3.12_3847v3x7pw1km", L"3.12", 11 },
19531955
{ L"PythonSoftwareFoundation.Python.3.11_3847v3x7pw1km", L"3.11", 11 },
@@ -2030,7 +2032,8 @@ struct StoreSearchInfo {
20302032

20312033

20322034
struct StoreSearchInfo STORE_SEARCH[] = {
2033-
{ L"3", /* 3.12 */ L"9NCVDN91XZQP" },
2035+
{ L"3", /* 3.13 */ L"9PNRBTZXMB4Z" },
2036+
{ L"3.14", L"9NTRHQCBBPR8" },
20342037
{ L"3.13", L"9PNRBTZXMB4Z" },
20352038
{ L"3.12", L"9NCVDN91XZQP" },
20362039
{ L"3.11", L"9NRWMJP3717K" },

0 commit comments

Comments
 (0)