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

Build Python wheels for musl Linux #659

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

redeboer
Copy link
Contributor

@redeboer redeboer commented Aug 23, 2024

Closes #658

  • As a follow-up to Build wheels for Python package #549, wheels for PyPI are now also built on musl Linux.
  • Introduces an intermediate step to merge the wheels into one artifact. This is more convenient for testing, see comment

@redeboer redeboer changed the title Musl wheels Build Python wheels for musl Linux Aug 23, 2024
@redeboer
Copy link
Contributor Author

Tested with Docker:

rm -r wheels/
gh run download -n wheels -D wheels --repo tamasfe/taplo 10529188669
docker build -t test-pypi-taplo-musl .
docker run -it --rm test-pypi-taplo-musl
# taplo help

Dockerfile:

FROM python:3.8-alpine3.18
WORKDIR /app
COPY wheels/ wheels/
RUN pip install --no-index --find-links wheels/ taplo
CMD ["/bin/sh"]

Running the above with artifacts from 10529180972 (without musl wheels) instead of 10529188669 fails.

@redeboer
Copy link
Contributor Author

@panekj could you review?

@sanmai-NL
Copy link

#701

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.

Add PyPI wheels for Alpine Linux
2 participants