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

Move to abi3 wheels #474

Merged
merged 2 commits into from
Dec 10, 2024
Merged

Move to abi3 wheels #474

merged 2 commits into from
Dec 10, 2024

Conversation

emdoyle
Copy link
Member

@emdoyle emdoyle commented Dec 10, 2024

Docs

This should dramatically reduce our footprint on PyPI by building only one wheel for each OS/Arch combo instead of building one for every version of Python.

This also stops building wheels for PyPy for now, since opting into abi3 automatically stops building interpreter-specific wheels, but this can be restored if requested. For now since we don't know if these are being used, we should err on the side of not building wheels since we recently hit the PyPI size limit.

- name: Build wheels
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.platform.target }}
args: --release --out dist -i python3.7 python3.8 python3.9 python3.10 python3.11 python3.12 python3.13 pypy3.7 pypy3.8 pypy3.9 pypy3.10
args: --release --out dist --find-interpreter
Copy link
Member Author

Choose a reason for hiding this comment

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

Most likely, find-interpreter now does nothing, but leaving this in to see if it will pick up PyPy automatically.

@emdoyle emdoyle merged commit 9b3d20b into main Dec 10, 2024
7 checks passed
@emdoyle emdoyle deleted the move-to-abi3-wheels branch December 10, 2024 01:34
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.

1 participant