Build stable-ABI wheels for Python 3.12+ - #41
Merged
Merged
Conversation
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
abi3-py312stable ABIContext
This revisits the stable-ABI proposal from #24 against the current repository.
The package now requires Python 3.12, the core algorithms live in
ruranges-core, macOS wheels are built natively, and package versions arealready synchronized explicitly. Accordingly, this uses
abi3-py312, retainsthe current versioning scheme, and updates the current release workflow rather
than applying #24 verbatim.
This PR intentionally does not close #24 automatically; its discussion can be
wrapped up separately.
Impact
The release set falls from eight wheels to four for the current two Python
versions and four platform/architecture combinations. The same four wheels
also cover Python 3.14 and future compatible CPython releases without adding a
new build per Python minor version.
Local matched-build testing found no meaningful performance or memory cost:
hg38 inputs from 1M through 100M, four implementations, and three repetitions
Validation
ruranges-0.2.7-cp312-abi3-macosx_11_0_arm64.whllocally with maturin 1.14.1 and Rust 1.96.0git diff --check