tamasfe / taplo

A TOML toolkit written in Rust
https://taplo.tamasfe.dev
MIT License
1.46k stars 115 forks source link

Build Python wheels for musl Linux #659

Open redeboer opened 3 months ago

redeboer commented 3 months ago

Closes #658

redeboer commented 3 months ago

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 commented 2 months ago

@panekj could you review?

sanmai-NL commented 4 days ago

701