Skip to content

Add selectable wheel ABIs for Rust and C++ extensions - #232

Merged
timkpaine merged 1 commit into
mainfrom
select-native-wheel-abi
Dec 1, 2026
Merged

timkpaine merged 1 commit into
mainfrom
select-native-wheel-abi

Conversation

@timkpaine

Copy link
Copy Markdown
Member

Add a Copier use_abi3 option to the C++ and Rust templates, including their WebAssembly variants. Rust keeps ABI3 by default and can build a PyO3 wheel for each supported CPython minor. C++ keeps pybind11 by default and can build ABI3 wheels with nanobind on Python 3.12 or newer.

Generate the native CI matrix and cibuildwheel selectors from the same Python versions. ABI3 builds use the minimum supported interpreter on each platform. Version-specific builds cover that minimum through Python 3.14. Pyodide keeps its separate wheel target.

Signed-off-by: Tim Paine <3105306+timkpaine@users.noreply.github.com>
@timkpaine timkpaine added lang: rust PRs or issues related to Rust part: dist PRs or issues related to distribution part: github_actions PRs or issues related to GitHub Actions type: feature Feature requests lang: c++ PRs or issues related to C++ labels Dec 1, 2026
@timkpaine
timkpaine merged commit bbdfbdf into main Dec 1, 2026
24 of 27 checks passed
@timkpaine
timkpaine deleted the select-native-wheel-abi branch December 1, 2026 23:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lang: c++ PRs or issues related to C++ lang: rust PRs or issues related to Rust part: dist PRs or issues related to distribution part: github_actions PRs or issues related to GitHub Actions type: feature Feature requests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant