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

Switch to PyO3/maturin-action #45

Open
wants to merge 24 commits into
base: master
Choose a base branch
from

Conversation

ddelange
Copy link

@ddelange ddelange commented Sep 23, 2024

linux-aarch64 makes up for almost 10% of all platforms ref giampaolo/psutil#2103

aarch64 has already surpassed windows in terms of downloads for this package. Oracle, Amazon, Google, and Microsoft are all offering aarch64 cloud instances at an undeniable price point compared to amd/intel, so the demand will undoubtedly only grow

  • Switch to PyO3/maturin-action, softprops/action-gh-release and pypa/gh-action-pypi-publish
    • Support trusted publishing: 🚩 TODO add dists.yml as trusted publisher here
    • Support aarch64, armv7l, i686, ppc64le, s390x linux wheel builds
  • Rename to tests.yml and dists.yml analogous to the top-level name field.
  • Switch to release trigger: tests wheel build on PRs, triggers PyPI upload only when GitHub release is (pre)released
  • Add a bunch of new architectures (without QEMU)
  • Upgrade to maturin>=1.0,<2
  • Drop support for Python 3.7 (EoL 2023-06-27)

green on my fork: ddelange#1

closes #28, closes #40

pip install these wheels

pip can install from GitHub Release assets from my fork:

# comma separated list for --find-links
export PIP_FIND_LINKS=https://github.com/ddelange/blake3-py/releases/expanded_assets/0.4.1
pip install blake3
 blake3-0.4.1.tar.gz
 blake3-0.4.1-cp310-cp310-macosx_10_12_x86_64.whl
 blake3-0.4.1-cp310-cp310-macosx_11_0_arm64.whl
+blake3-0.4.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
+blake3-0.4.1-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
+blake3-0.4.1-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl
+blake3-0.4.1-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
+blake3-0.4.1-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl
 blake3-0.4.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
+blake3-0.4.1-cp310-cp310-musllinux_1_1_aarch64.whl
+blake3-0.4.1-cp310-cp310-musllinux_1_1_x86_64.whl
 blake3-0.4.1-cp310-none-win32.whl
 blake3-0.4.1-cp310-none-win_amd64.whl
 blake3-0.4.1-cp311-cp311-macosx_10_12_x86_64.whl
 blake3-0.4.1-cp311-cp311-macosx_11_0_arm64.whl
+blake3-0.4.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
+blake3-0.4.1-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
+blake3-0.4.1-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl
+blake3-0.4.1-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
+blake3-0.4.1-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl
 blake3-0.4.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
+blake3-0.4.1-cp311-cp311-musllinux_1_1_aarch64.whl
+blake3-0.4.1-cp311-cp311-musllinux_1_1_x86_64.whl
 blake3-0.4.1-cp311-none-win32.whl
 blake3-0.4.1-cp311-none-win_amd64.whl
 blake3-0.4.1-cp312-cp312-macosx_10_12_x86_64.whl
 blake3-0.4.1-cp312-cp312-macosx_11_0_arm64.whl
+blake3-0.4.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
+blake3-0.4.1-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
+blake3-0.4.1-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl
+blake3-0.4.1-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
+blake3-0.4.1-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl
 blake3-0.4.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
+blake3-0.4.1-cp312-cp312-musllinux_1_1_aarch64.whl
+blake3-0.4.1-cp312-cp312-musllinux_1_1_x86_64.whl
 blake3-0.4.1-cp312-none-win32.whl
 blake3-0.4.1-cp312-none-win_amd64.whl
-blake3-0.4.1-cp37-cp37m-macosx_10_12_x86_64.whl
-blake3-0.4.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
-blake3-0.4.1-cp37-none-win32.whl
-blake3-0.4.1-cp37-none-win_amd64.whl
 blake3-0.4.1-cp38-cp38-macosx_10_12_x86_64.whl
 blake3-0.4.1-cp38-cp38-macosx_11_0_arm64.whl
+blake3-0.4.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
+blake3-0.4.1-cp38-cp38-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
+blake3-0.4.1-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl
+blake3-0.4.1-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
+blake3-0.4.1-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl
 blake3-0.4.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
+blake3-0.4.1-cp38-cp38-musllinux_1_1_aarch64.whl
+blake3-0.4.1-cp38-cp38-musllinux_1_1_x86_64.whl
 blake3-0.4.1-cp38-none-win32.whl
 blake3-0.4.1-cp38-none-win_amd64.whl
 blake3-0.4.1-cp39-cp39-macosx_10_12_x86_64.whl
 blake3-0.4.1-cp39-cp39-macosx_11_0_arm64.whl
+blake3-0.4.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
+blake3-0.4.1-cp39-cp39-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
+blake3-0.4.1-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl
+blake3-0.4.1-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
+blake3-0.4.1-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl
 blake3-0.4.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
+blake3-0.4.1-cp39-cp39-musllinux_1_1_aarch64.whl
+blake3-0.4.1-cp39-cp39-musllinux_1_1_x86_64.whl
 blake3-0.4.1-cp39-none-win32.whl
 blake3-0.4.1-cp39-none-win_amd64.whl

@ddelange
Copy link
Author

hi @oconnor663 👋

hope the diff doesn't scare, removing the py files was just made possible by switching to the (well-maintained) github actions:)

@ddelange
Copy link
Author

@oconnor663 friendly reminder:)

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.

Linux wheel for aarch64 and armv7 architecture ?
1 participant