9 ms·
That article should be titled, “Most Python packages do not upload an Alpine-compatible wheel to PyPI.” If you know where to find Alpine-compatible wheels, or
by williamjackson 6y ago
That article should be titled, “Most Python packages do not upload an Alpine-compatible wheel to PyPI.”
If you know where to find Alpine-compatible wheels, or host your own, Alpine has no build-speed penalty.
- guitarbill 6y agoWhere do you find Alpine-compatible wheels? Many ones uploaded to PyPI aren't, because e.g. both GitHub actions [0] and Azure pipelines [1] don't have Alpine images. Is it reasonable to expect maintainers of small, open-source libraries to write and maintain their own Alpine runners? I guess if you know your company's workflow depends on Alpine, you can build and cache them yourself. But the wider community doesn't benefit from that. [0] https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources https://docs.github.com/en/actions/using-github-hosted-runne... [1] https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops&tabs=yaml#software https://docs.microsoft.com/en-us/azure/devops/pipelines/agen...
- williamjackson 6y agoI was not aware of prior work so I maintain Alpine wheels for packages I use personally in a GitHub org. https://github.com/alpine-wheels/index https://github.com/alpine-wheels/index Besides my own needs, only one other person has requested additional packages, which I was happy to add. Maintenance is minimal, mostly just approving pull requests created by Dependabot.
- guitarbill 6y agoThat's pretty slick! Thanks
- di 6y agoExactly zero packages upload Alpine-compatible wheels to PyPI. The manylinux specification assumes glibc, so there is no valid distribution format which would allow the publication of non-glibc wheels. However there is an in-progress PEP to support it: https://www.python.org/dev/peps/pep-0656/ https://www.python.org/dev/peps/pep-0656/