Skip to content

Python 3.15 - #768

Open
sbSteveK wants to merge 10 commits into
mainfrom
315
Open

sbSteveK wants to merge 10 commits into
mainfrom
315

Conversation

@sbSteveK

@sbSteveK sbSteveK commented Sep 22, 2026 •

Copy link
Copy Markdown
Contributor

Python 3.15 GA is Oct 1, 2026.

Standard 3.15 already works, cp313-abi3 wheels cover it and cp315 has been added to relevant CI matrix to verify.

Free-threaded 3.15t builds don't support Py_LIMITED_API so 3.15t failed to build. We migrated the free-threaded build to abi3t, the new stable ABI for free-threaded Python (Migration guide https://docs.python.org/3.15/howto/abi3t-migration.html ).

The cp315-abi3t wheel will cover 3.15t+ in the same way cp313-abi3 handles the non free-threaded versions.

setup.py has been updated to define Py_TARGET_ABI3T and handle the abi3t wheel tag and .abi3t.so filename manually (setuptools doesn't support abi3t yet).

source/module.c added PyModExport hook that abi3t requires behind #ifdef Py_TARGET_ABI3T.

CD for 3.15 and 3.15t will wait on GA of Python 3.15.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

This branch has not been deployed

No deployments
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