index icon indicating copy to clipboard operation
index copied to clipboard

Use PEP 656 (Platform Tag for Linux Distributions Using Musl)

Open blueyed opened this issue 2 years ago • 4 comments

Using PEP 656 for more specific/correct platform tags would allow for keeping an --extra-index-url https://alpine-wheels.github.io/index outside of the Alpine Linux Docker image.

Currently it uses alpine-wheels also on non-compatible platform, e.g. GitHub Actions, because of the generic "linux_x86_64".

blueyed avatar Apr 06 '22 10:04 blueyed

I currently build wheels with this command:

pip wheel --no-deps <package_name>

If you can recommend a way to build wheels directly from source distributions on PyPI so they get the correct platform tag, I would love to hear about it.

williamjacksn avatar Apr 15 '22 17:04 williamjacksn

This would be nice: https://github.com/pypa/cibuildwheel/issues/597

williamjacksn avatar Apr 19 '22 18:04 williamjacksn

Well cool, cibuildwheel supports building from an sdist. Now I just need to learn how to use it.

williamjacksn avatar Jun 02 '22 23:06 williamjacksn

I just built a wheel for pendulum with the container image python:3.11-alpine and I got the musllinux platform tag, so that's nice.

williamjacksn avatar Oct 25 '22 15:10 williamjacksn