Request for wheel for musllinux (Alpine) #412

Closed
opened 2026-01-29 20:43:28 +00:00 by claunia · 4 comments
Owner

Originally created by @tgross35 on GitHub (Jan 22, 2022).

Since PEP 656 got adopted, it is now possible to build wheels for musllinux and distribute them on pypi, which makes them installable on Alpine linux (docker) without any extra installs. Could the maintainers of brotli consider shipping a musl wheel?

As an example - Gevent recently added a musllinux build, workflow here https://github.com/gevent/gevent/blob/master/.github/workflows/ci.yml

Originally created by @tgross35 on GitHub (Jan 22, 2022). Since PEP 656 got adopted, it is now possible to build wheels for musllinux and distribute them on pypi, which makes them installable on Alpine linux (docker) without any extra installs. Could the maintainers of brotli consider shipping a musl wheel? As an example - Gevent recently added a musllinux build, workflow here https://github.com/gevent/gevent/blob/master/.github/workflows/ci.yml
Author
Owner

@anthrotype commented on GitHub (Jan 24, 2022):

We build the wheels on https://github.com/google/brotli-wheels
Would you like to work on a PR?

@anthrotype commented on GitHub (Jan 24, 2022): We build the wheels on https://github.com/google/brotli-wheels Would you like to work on a PR?
Author
Owner

@anthrotype commented on GitHub (Jan 24, 2022):

looks like the latest cibuildwheel already builds musllinux wheels automatically. I just pushed an empty commit to trigger the google/brotli-wheels CI and I can see those being built.
https://github.com/google/brotli-wheels/runs/4919842056
I think i'm going to just download them from github CI artifacts and upload them manually to PyPI. Once a new brotli release is made, they will be automatically uploaded along with the rest of the wheels.

@anthrotype commented on GitHub (Jan 24, 2022): looks like the latest cibuildwheel already builds musllinux wheels automatically. I just pushed an empty commit to trigger the google/brotli-wheels CI and I can see those being built. https://github.com/google/brotli-wheels/runs/4919842056 I think i'm going to just download them from github CI artifacts and upload them manually to PyPI. Once a new brotli release is made, they will be automatically uploaded along with the rest of the wheels.
Author
Owner

@anthrotype commented on GitHub (Jan 24, 2022):

I just uploaded to PyPI musllinux wheels for cpython 3.6 to 3.10, for x86_64, i686 and aarch64 architectures, as built by cibuildwheel in https://github.com/google/brotli-wheels/runs/4919842056
Let me know if that suits you or you need more.

@anthrotype commented on GitHub (Jan 24, 2022): I just uploaded to PyPI musllinux wheels for cpython 3.6 to 3.10, for x86_64, i686 and aarch64 architectures, as built by cibuildwheel in https://github.com/google/brotli-wheels/runs/4919842056 Let me know if that suits you or you need more.
Author
Owner

@tgross35 commented on GitHub (Jan 24, 2022):

@anthrotype Excellent, thank you! Works great, quite a nice speed boost to docker builds.

@tgross35 commented on GitHub (Jan 24, 2022): @anthrotype Excellent, thank you! Works great, quite a nice speed boost to docker builds.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/brotli#412