Windows only code in common area in path.py
The change to detect Windows 11 in !63 (merged) is in the common area and should have been guarded with a check of nt
. It has broken non-Windows builds:
windows11 = sys.getwindowsversion().build >= 22000
^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'sys' has no attribute 'getwindowsversion'