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

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

Open
blueyed opened this issue Apr 6, 2022 · 4 comments
Open

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

blueyed opened this issue Apr 6, 2022 · 4 comments

Comments

@blueyed
Copy link

blueyed commented Apr 6, 2022

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".

@williamjacksn
Copy link
Member

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
Copy link
Member

This would be nice: pypa/cibuildwheel#597

@williamjacksn
Copy link
Member

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

@williamjacksn
Copy link
Member

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.

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

No branches or pull requests

2 participants