Skip to content

Target Stable ABI on free-threaded Python 3.15+ - #383

Merged
bgilbert merged 3 commits into
openslide:mainfrom
bgilbert:abi3t
Oct 23, 2026
Merged

bgilbert merged 3 commits into
openslide:mainfrom
bgilbert:abi3t

Conversation

@bgilbert

Copy link
Copy Markdown
Member

Building for the new Stable ABI creates a single wheel for both GILful and free-threaded Python 3.15+ (cp315-abi3.abi3t) but must happen in a free-threaded interpreter until setuptools drops that requirement.

Fixes: #340

@openslide-bot

openslide-bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Member

DCO signed off ✔️

All commits have been signed off. You have certified to the terms of the Developer Certificate of Origin, version 1.1. In particular, you certify that this contribution has not been developed using information obtained under a non-disclosure agreement or other license terms that forbid you from contributing it under the GNU Lesser General Public License, version 2.1.

We don't have any special GIL handling so this is fine.

Signed-off-by: Benjamin Gilbert <bgilbert@cs.cmu.edu>
Notwithstanding the `py_limited_api` kwarg name, we really mean the
Stable ABI when referring to binary artifacts.

Signed-off-by: Benjamin Gilbert <bgilbert@cs.cmu.edu>
@bgilbert
bgilbert force-pushed the abi3t branch 3 times, most recently from 12d3186 to bea6476 Compare October 20, 2026 06:41
Building for the new Stable ABI creates a single wheel for both GILful and
free-threaded Python 3.15+ (cp315-abi3.abi3t) but must happen in a
free-threaded interpreter until setuptools drops that requirement.

Fixes: openslide#340
Signed-off-by: Benjamin Gilbert <bgilbert@cs.cmu.edu>
@bgilbert bgilbert mentioned this pull request Oct 20, 2026
6 of 9 tasks
@bgilbert
bgilbert marked this pull request as ready for review October 23, 2026 16:30
@bgilbert
bgilbert merged commit db0a1fe into openslide:main Oct 23, 2026
151 of 153 checks passed
@bgilbert
bgilbert deleted the abi3t branch October 23, 2026 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Use Stable ABI for free-threaded Python in 3.15

2 participants