Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(build): build abi3 wheels #187

Merged
merged 1 commit into from
Feb 25, 2024
Merged

feat(build): build abi3 wheels #187

merged 1 commit into from
Feb 25, 2024

Conversation

lukapeschke
Copy link
Collaborator

This simplifies our wheel build process by using the abi3 API.

https://pyo3.rs/v0.14.5/building_and_distribution#py_limited_apiabi3

It allows us to build only a single wheel per target OS/arch.

closes #168

This simplifies our wheel build process by using the abi3 API.

https://pyo3.rs/v0.14.5/building_and_distribution#py_limited_apiabi3

It allows us to build only a single wheel per target OS/arch.

closes #168

Signed-off-by: Luka Peschke <[email protected]>
@lukapeschke lukapeschke added enhancement New feature or request ✋ need review ✋ 🦀 rust 🦀 Pull requests that edit Rust code labels Feb 24, 2024
@lukapeschke lukapeschke self-assigned this Feb 24, 2024
@lukapeschke
Copy link
Collaborator Author

Good news: There's ansolutely no performance impact 🎉

before

before_abi3

after

after_abi3

@@ -86,7 +86,9 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
# Only testing the build on the smallest supported Python version
# since we're building abi3 wheels
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@lukapeschke lukapeschke merged commit b7b8911 into main Feb 25, 2024
21 checks passed
@lukapeschke lukapeschke deleted the abi3-wheels branch February 25, 2024 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🦀 rust 🦀 Pull requests that edit Rust code enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provide abi3 wheels
2 participants