Skip to content

Commit 06dc0bc

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 ca9bbaf commit 06dc0bc

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
@@ -1962,6 +1962,7 @@ struct AppxSearchInfo {
19621962

19631963
struct AppxSearchInfo APPX_SEARCH[] = {
19641964
// Releases made through the Store
1965+
{ L"PythonSoftwareFoundation.Python.3.14_qbz5n2kfra8p0", L"3.14", 10 },
19651966
{ L"PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0", L"3.13", 10 },
19661967
{ L"PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0", L"3.12", 10 },
19671968
{ L"PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0", L"3.11", 10 },
@@ -1970,8 +1971,9 @@ struct AppxSearchInfo APPX_SEARCH[] = {
19701971
{ L"PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0", L"3.8", 10 },
19711972

19721973
// Side-loadable releases. Note that the publisher ID changes whenever we
1973-
// renew our code-signing certificate, so the newer ID has a higher
1974-
// priority (lower sortKey)
1974+
// change our code signing certificate subject, so the newer IDs have higher
1975+
// priorities (lower sortKey)
1976+
{ L"PythonSoftwareFoundation.Python.3.14_3847v3x7pw1km", L"3.14", 11 },
19751977
{ L"PythonSoftwareFoundation.Python.3.13_3847v3x7pw1km", L"3.13", 11 },
19761978
{ L"PythonSoftwareFoundation.Python.3.12_3847v3x7pw1km", L"3.12", 11 },
19771979
{ L"PythonSoftwareFoundation.Python.3.11_3847v3x7pw1km", L"3.11", 11 },
@@ -2054,7 +2056,8 @@ struct StoreSearchInfo {
20542056

20552057

20562058
struct StoreSearchInfo STORE_SEARCH[] = {
2057-
{ L"3", /* 3.12 */ L"9NCVDN91XZQP" },
2059+
{ L"3", /* 3.13 */ L"9PNRBTZXMB4Z" },
2060+
{ L"3.14", L"9NTRHQCBBPR8" },
20582061
{ L"3.13", L"9PNRBTZXMB4Z" },
20592062
{ L"3.12", L"9NCVDN91XZQP" },
20602063
{ L"3.11", L"9NRWMJP3717K" },

0 commit comments

Comments
 (0)