[Python-checkins] gh-95733: Allow installing Store package on older Windows versions (GH-95862)

zooba webhook-mailer at python.org
Wed Aug 10 19:48:09 EDT 2022


https://github.com/python/cpython/commit/73d8ffefe95791fa1f036b029cf51f907a89ee42
commit: 73d8ffefe95791fa1f036b029cf51f907a89ee42
branch: main
author: Steve Dower <steve.dower at python.org>
committer: zooba <steve.dower at microsoft.com>
date: 2022-08-11T00:47:58+01:00
summary:

gh-95733: Allow installing Store package on older Windows versions (GH-95862)

files:
A Misc/NEWS.d/next/Windows/2022-08-10-22-46-48.gh-issue-95733.2_urOp.rst
M PC/layout/support/appxmanifest.py

diff --git a/Misc/NEWS.d/next/Windows/2022-08-10-22-46-48.gh-issue-95733.2_urOp.rst b/Misc/NEWS.d/next/Windows/2022-08-10-22-46-48.gh-issue-95733.2_urOp.rst
new file mode 100644
index 000000000000..996209211690
--- /dev/null
+++ b/Misc/NEWS.d/next/Windows/2022-08-10-22-46-48.gh-issue-95733.2_urOp.rst
@@ -0,0 +1,2 @@
+Make certain requirements of the Windows Store package optional to allow
+installing on earlier updates of Windows.
diff --git a/PC/layout/support/appxmanifest.py b/PC/layout/support/appxmanifest.py
index 4850fad9b56d..1fb03380278f 100644
--- a/PC/layout/support/appxmanifest.py
+++ b/PC/layout/support/appxmanifest.py
@@ -86,7 +86,8 @@
 }
 
 APPXMANIFEST_TEMPLATE = """<?xml version="1.0" encoding="utf-8"?>
-<Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
+<Package IgnorableNamespaces="desktop4 desktop6"
+    xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
     xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
     xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
     xmlns:rescap4="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities/4"



More information about the Python-checkins mailing list