winVersion: recognize build 26300 as Windows 11 Version 26H2 (2026 update) - #20648
Open
josephsl wants to merge 2 commits into
Open
winVersion: recognize build 26300 as Windows 11 Version 26H2 (2026 update)#20648josephsl wants to merge 2 commits into
josephsl wants to merge 2 commits into
Conversation
Member
|
has this version been released yet? As per previous PRs, we would rather not land code guessing at build versions until MS has fully committed to them by an actual release, not an announcement |
Contributor
Author
|
Hi, Not yet. We will know when build 26300 lands in the release preview channel. Happy to push this to 2027.1 milestone. Thanks. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Link to issue number:
Closes #20559
Summary of the issue:
On June 19, 2026, Microsoft announced Windows 11 Version 26H2 with the build number of 26300.
Description of user facing changes:
None
Description of developer facing changes:
source/winVersion.py:
Description of development approach:
Added winVersion.WIN11_26H2 as the constant representing Windows 11 Version 26H2. Testing (see below) requires computers running builds below, on, and above 26300. The computer used to develop this PR runs build 26300 (Insider Preview).
Testing strategy:
Manual:
Prerequisite: prepare three computers or virtual machines: a mahcine running a build below 26300 (25H2 (26200) will do), a computer subscribed to Windows Insider Experimental channel and WinVer shows build 26300, a machine running a build above 26300 (say, 26H1 stable build (28000)).
Procedure:
WIN11_26H2aswinVersion.WinVersion(major=10, minor=0, build=26300).winVersion.getWinVer() >= WIN11_26H2)..Result:
Known issues with pull request:
None for most cases. Note that Windows 11 Version 26H1 has a higher build number than 26H2.
Code Review Checklist: