This draft adds generic Windows support directly on the current canonical master, then adds native Windows ARM64 validation and release integration in a separate commit.
add windows-latest regression coverage and native windows-11-arm coverage for CPython 3.11.9, 3.12.10, 3.13.15, 3.14.7, and 3.14t
build and test Windows AMD64 wheels for cp38 through cp314t
build and test Windows ARM64 wheels for cp311 through cp314t
verify each ARM64 wheel contains an ARM64 (0xAA64) native extension before upload
require Windows wheel jobs before publication
keep Windows socket assertions locale-independent by checking stable error codes
Commit structure
Add Windows runtime and test support
Add Windows ARM64 CI and release wheels
The branch is rebuilt directly from e8efea4 rather than stacked on #736. #736 remains implementation reference and attribution context, but its broad formatting history is not part of this PR.
Local validation
Native Windows ARM64, CPython 3.13.15, MSVC 14.44:
built uvloop-0.22.1-cp313-cp313-win_arm64.whl
clean-installed the wheel outside the source checkout
imported the installed extension on native ARM64
independently parsed uvloop/loop.cp313-win_arm64.pyd as PE machine 0xAA64
ran the cibuildwheel command: 526 tests passed with 131 platform skips
ran focused process, signal, DNS, pipe, socket, and TCP suites during reconstruction
passed sourcecode/flake8 and mypy checks
passed the complete canonical minimal-diff review using the vendored Ponytail skills: Lean already. Ship.
The active uvloop handle-leak test remains enabled on Windows. It rejects increasing handle counts while allowing delayed cleanup to reduce the process-wide count.
Remaining draft checks
complete the hosted Windows AMD64 and five Windows ARM64 test rows
complete all non-Windows regression rows
confirm cp314t resolves the native ARM64 free-threaded interpreter
run the release workflow matrix and confirm ARM64 artifact inspection
This remains a draft and does not claim merge, publication, or upstream acceptance.
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
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.
Summary
This draft adds generic Windows support directly on the current canonical master, then adds native Windows ARM64 validation and release integration in a separate commit.
Commit structure
The branch is rebuilt directly from e8efea4 rather than stacked on #736. #736 remains implementation reference and attribution context, but its broad formatting history is not part of this PR.
Local validation
Native Windows ARM64, CPython 3.13.15, MSVC 14.44:
The active uvloop handle-leak test remains enabled on Windows. It rejects increasing handle counts while allowing delayed cleanup to reduce the process-wide count.
Remaining draft checks
This remains a draft and does not claim merge, publication, or upstream acceptance.