dulwich icon indicating copy to clipboard operation
dulwich copied to clipboard

Add musllinux wheels to the release process

Open n1ngu opened this issue 1 year ago • 2 comments

It would be nice to publish musllinux wheels to ease installation in MUSL platforms, namely python:alpine docker images. See https://peps.python.org/pep-0656/

https://cibuildwheel.readthedocs.io/en/stable/ is usually very convenient for this, but I see you are not using it?

Wrapping some Python tooling depending on dulwich in an Alpine Docker image is rather cumbersome right now because it involves either

  • bloating the tool docker image with build dependencies when you are using alpine precisely to keep it as small as possible or
  • getting messed up with multistage images

Having musllinux wheels available would be as easy as

FROM python:alpine
RUN pip install dulwich

n1ngu avatar Aug 31 '22 11:08 n1ngu

We're currently building wheels in .github/workflows/pythonwheels.yml; any chance that could be extended to build musl images?

jelmer avatar Aug 31 '22 11:08 jelmer

Made an attempt at this in #1037

nikolaik avatar Sep 08 '22 12:09 nikolaik

Thanks, @nikolaik !

Since your PR has landed, I believe this can be closed.

jelmer avatar Oct 20 '22 05:10 jelmer