gh-127732: Add Windows Server 2025 detection to platform module (GH-127733)

(cherry picked from commit 5eb7fd4d0f)

Co-authored-by: Wulian <1055917385@qq.com>
This commit is contained in:
Miss Islington (bot) 2024-12-09 13:50:34 +01:00 committed by GitHub
parent 075c41d5f5
commit 310efdabf5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View file

@ -354,7 +354,8 @@ _WIN32_CLIENT_RELEASES = [
]
_WIN32_SERVER_RELEASES = [
((10, 1, 0), "post2022Server"),
((10, 1, 0), "post2025Server"),
((10, 0, 26100), "2025Server"),
((10, 0, 20348), "2022Server"),
((10, 0, 17763), "2019Server"),
((6, 4, 0), "2016Server"),

View file

@ -0,0 +1 @@
The :mod:`platform` module now correctly detects Windows Server 2025.