Skip to content

Commit 4ec5b32

Browse files
committed
Add Windows Server 2025 to platform.py detection
1 parent 79b7cab commit 4ec5b32

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Lib/platform.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,8 @@ def _wmi_query(table, *keys):
353353
]
354354

355355
_WIN32_SERVER_RELEASES = [
356-
((10, 1, 0), "post2022Server"),
356+
((10, 1, 0), "post2025Server"),
357+
((10, 0, 26100), "2025Server"),
357358
((10, 0, 20348), "2022Server"),
358359
((10, 0, 17763), "2019Server"),
359360
((6, 4, 0), "2016Server"),
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add Windows Server 2025 to `platform.py` detection

0 commit comments

Comments
 (0)