pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/python/cpython/commit/456d6d9fefac828c19fc1b562f6301f00965fe59

70e4081bd07e.css" /> bpo-45220: Avoid automatically selecting the Windows 11 SDK preview w… · python/cpython@456d6d9 · GitHub
Skip to content

Commit 456d6d9

Browse files
bpo-45220: Avoid automatically selecting the Windows 11 SDK preview when building (GH-28393) (GH-28622)
(cherry picked from commit f4b94b1) Co-authored-by: Steve Dower <steve.dower@python.org>
1 parent 8344fef commit 456d6d9

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Avoid building with the Windows 11 SDK previews automatically. This may be
2+
overridden by setting the ``DefaultWindowsSDKVersion`` environment variable
3+
before building.

PCbuild/python.props

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,9 @@
106106
<!-- Sometimes the version in the registry has to .0 suffix, and sometimes it doesn't. Check and add it -->
107107
<_RegistryVersion Condition="$(_RegistryVersion) != '' and !$(_RegistryVersion.EndsWith('.0'))">$(_RegistryVersion).0</_RegistryVersion>
108108

109+
<!-- Avoid upgrading to Windows 11 SDK for now, but assume the latest Win10 SDK is installed -->
110+
<_RegistryVersion Condition="$([System.Version]::Parse($(_RegistryVersion))) >= $([System.Version]::Parse(`10.0.22000.0`))">10.0.19041.0</_RegistryVersion>
111+
109112
<!-- The minimum allowed SDK version to use for building -->
110113
<DefaultWindowsSDKVersion>10.0.10586.0</DefaultWindowsSDKVersion>
111114
<DefaultWindowsSDKVersion Condition="$([System.Version]::Parse($(_RegistryVersion))) > $([System.Version]::Parse($(DefaultWindowsSDKVersion)))">$(_RegistryVersion)</DefaultWindowsSDKVersion>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy