gh-125550: Enable py.exe to detect Store installs of 3.14 (GH-125551)

This commit is contained in:
Steve Dower 2024-10-16 23:05:20 +01:00 committed by GitHub
parent aecbc2e6f4
commit 8e7b2a1161
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 3 deletions

View File

@ -0,0 +1,2 @@
Enable the :ref:`launcher` to detect Python 3.14 installs from the Windows
Store.

View File

@ -1962,6 +1962,7 @@ struct AppxSearchInfo {
struct AppxSearchInfo APPX_SEARCH[] = { struct AppxSearchInfo APPX_SEARCH[] = {
// Releases made through the Store // Releases made through the Store
{ L"PythonSoftwareFoundation.Python.3.14_qbz5n2kfra8p0", L"3.14", 10 },
{ L"PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0", L"3.13", 10 }, { L"PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0", L"3.13", 10 },
{ L"PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0", L"3.12", 10 }, { L"PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0", L"3.12", 10 },
{ L"PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0", L"3.11", 10 }, { L"PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0", L"3.11", 10 },
@ -1970,8 +1971,9 @@ struct AppxSearchInfo APPX_SEARCH[] = {
{ L"PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0", L"3.8", 10 }, { L"PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0", L"3.8", 10 },
// Side-loadable releases. Note that the publisher ID changes whenever we // Side-loadable releases. Note that the publisher ID changes whenever we
// renew our code-signing certificate, so the newer ID has a higher // change our code signing certificate subject, so the newer IDs have higher
// priority (lower sortKey) // priorities (lower sortKey)
{ L"PythonSoftwareFoundation.Python.3.14_3847v3x7pw1km", L"3.14", 11 },
{ L"PythonSoftwareFoundation.Python.3.13_3847v3x7pw1km", L"3.13", 11 }, { L"PythonSoftwareFoundation.Python.3.13_3847v3x7pw1km", L"3.13", 11 },
{ L"PythonSoftwareFoundation.Python.3.12_3847v3x7pw1km", L"3.12", 11 }, { L"PythonSoftwareFoundation.Python.3.12_3847v3x7pw1km", L"3.12", 11 },
{ L"PythonSoftwareFoundation.Python.3.11_3847v3x7pw1km", L"3.11", 11 }, { L"PythonSoftwareFoundation.Python.3.11_3847v3x7pw1km", L"3.11", 11 },
@ -2054,7 +2056,8 @@ struct StoreSearchInfo {
struct StoreSearchInfo STORE_SEARCH[] = { struct StoreSearchInfo STORE_SEARCH[] = {
{ L"3", /* 3.12 */ L"9NCVDN91XZQP" }, { L"3", /* 3.13 */ L"9PNRBTZXMB4Z" },
{ L"3.14", L"9NTRHQCBBPR8" },
{ L"3.13", L"9PNRBTZXMB4Z" }, { L"3.13", L"9PNRBTZXMB4Z" },
{ L"3.12", L"9NCVDN91XZQP" }, { L"3.12", L"9NCVDN91XZQP" },
{ L"3.11", L"9NRWMJP3717K" }, { L"3.11", L"9NRWMJP3717K" },