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

Add wheels for musl linux #391

Open
Bruceforce opened this issue Jun 2, 2022 · 7 comments
Open

Add wheels for musl linux #391

Bruceforce opened this issue Jun 2, 2022 · 7 comments

Comments

@Bruceforce
Copy link

Hi, first let me thank you for your awesome work.

Is it possible to add musllinux wheel builds to pypi (PEP656)?

This would be great for all alpine users since it would simplify and speed up the installation of the libsass package.

@toabi
Copy link

toabi commented Aug 11, 2022

I guess here's where the wheels are built? https://github.com/sass/libsass-python/blob/main/bin/build-manylinux-wheels

I have no experience with this, but would it be easy to adapt and run a musl container to build musl wheels? There's just no standard OS as for https://github.com/pypa/manylinux as I could see?

@asottile
Copy link
Member

yeah I haven't seen any standardization on a base image -- we could make our own but ideally someone else would do that work lol

@toabi
Copy link

toabi commented Aug 11, 2022

Jeah. The cryptography people have their own apparently: https://github.com/pyca/cryptography/blob/main/.github/workflows/wheel-builder.yml#L34

@asottile
Copy link
Member

yeah they have some special requirements too like rust

@toabi
Copy link

toabi commented Aug 11, 2022

Just noticed, there are musllinux images there https://quay.io/organization/pypa - here: https://quay.io/repository/pypa/musllinux_1_1_x86_64?tab=tags

@DeD1rk
Copy link

DeD1rk commented Dec 23, 2023

@asottile I think it's quite sad to see #400 closed. It would be very useful in simplifying and speeding up docker builds.

So again, would you be open for a PR for building with https://github.com/pypa/cibuildwheel?

@maybeetree
Copy link

Hello,

I'm seconding this. Musl wheels would be great.

Unfortunately I'm not familiar with either tox or cibuildwheel, so I cannot provide a PR. However, I can confirm that libsass compiles without issues on Alpine linux, provided that gcc, g++, musl-dev, and python3-dev packages are installed (some of these may be redundant)

Hope this helps.

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 a pull request may close this issue.

5 participants