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

Create wheels for ARM on linux #21

Merged
merged 2 commits into from
Jul 1, 2024
Merged

Conversation

bobbyrenwick
Copy link
Contributor

I am trying to use biopython==1.84 within a Ubuntu docker image on an M2 Macbook Pro but there's no wheel built for this environment and it's causing installation issues for us.

I've changed the build script so that cibuildwheel also outputs wheels for aarch64 from the ubuntu-20.04 runner.

You can see the CI run for this has successfully produced the wheels, and download the artifacts.

@peterjc
Copy link
Member

peterjc commented Jun 30, 2024

We have ARM wheels for macOS but I can see the need for Linux too.

@peterjc
Copy link
Member

peterjc commented Jul 1, 2024

This looks good, matches the documentation on https://cibuildwheel.pypa.io/en/stable/options/ - thank you!

@peterjc peterjc merged commit b55d1f9 into biopython:master Jul 1, 2024
4 checks passed
@peterjc
Copy link
Member

peterjc commented Jul 1, 2024

Uploaded to PyPI, thank you!

$ twine upload --skip-existing biopython-1.84*aarch64.whl
Uploading distributions to https://upload.pypi.org/legacy/
Uploading biopython-1.84-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.2/3.2 MB • 00:01 • 3.1 MB/s
Uploading biopython-1.84-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.2/3.2 MB • 00:00 • 3.6 MB/s
Uploading biopython-1.84-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.2/3.2 MB • 00:00 • 3.7 MB/s
Uploading biopython-1.84-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.2/3.2 MB • 00:00 • 4.0 MB/s

View at:
https://pypi.org/project/biopython/1.84/

Checksums:

$ md5sum biopython-1.84*_aarch64.whl
7fb584b77d4408d2bcdb93479b213975  biopython-1.84-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
e353d2a757f1c8d049e6af00b43e981b  biopython-1.84-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
550b01dcfaedb71a3d7f61842d324bde  biopython-1.84-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
a439a73a6b0a42142eda9451e2bb0731  biopython-1.84-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

$ sha256sum biopython-1.84*_aarch64.whl
ca8d6a88b9a9718074b3f5b450f9ea5adf7112a7dbaed55d82d5b623f5859a01  biopython-1.84-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
507ac3956f3107e77fee362ecb048dafb5f97cbcf110012d091418430c3227c7  biopython-1.84-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
89ef3967f5a88b5bb6344bef75ae83386de53fed3966d5c8c334ad885f8db08a  biopython-1.84-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
0c425a39871f652598f502671aa5f6b5125475a91333a368a47f9c611ca96db1  biopython-1.84-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

@bobbyrenwick
Copy link
Contributor Author

Thank you for looking into that so quickly @peterjc!

@peterjc
Copy link
Member

peterjc commented Jul 2, 2024

You made it easy for me 😁

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.

2 participants