Skip to content

Conversation

@cclauss
Copy link
Contributor

@cclauss cclauss commented Oct 27, 2025

@Avasam
Copy link
Collaborator

Avasam commented Oct 28, 2025

Last time I checked, 3.13t at least built, but failed very early on tests. Unsurprising given that pywin32 relies heavily on the GIL. Looks like PyOVERLAPPED->ob_refcnt was removed in 3.14t, so now it doesn't even build at all.

Good luck if you intend on working on free-threaded support !

See pinned issue for (short) discussion: #2303 (comment)

@Avasam
Copy link
Collaborator

Avasam commented Oct 29, 2025

Also for ARM64 cross-compilation, you'd have to update https://github.com/mhammond/pywin32/blob/main/.github/workflows/download-arm64-libs.py to download from https://www.nuget.org/packages/pythonarm64-freethreaded instead

Or wait for #2581 to be merged first since that'll sidestep cross-compilation on free-threaded.

@cclauss cclauss changed the title Add free-threaded Python 3.14t to the testing python3.14t -m pip install pywin32 fails Oct 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants