-
Notifications
You must be signed in to change notification settings - Fork 12
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
Document the rust toolchain requirement for source installs and build MUSL wheels #6
Comments
(Definitely! Thanks for the issue.) For what it's worth, that error means your container is missing the Rust toolchain. An example of what you need is here. Please share any additional feedback! |
Another thing by the way (which I meant to leave myself as an issue) is that I haven't spent any time trying to understand why Docker (even for me) isn't happy with one of the wheels being uploaded -- @ofek in case you happen to know and don't mind the ping... Otherwise yeah I'd like to remove the need for ^^ at some point by building some additional wheels if possible. |
Thanks, it worked. I believe PEP standard for wheels doesn't support musl libc implementation (Alpine Linux); APK package is the only way to handle Alpine Linux so far? |
There is no wheel for MUSL, they should look like this https://pypi.org/project/hatch-showcase/#files |
Aha, ok, |
For context, there was a question on maturin action issue tracker about musllinux here: PyO3/maturin-action#56 Which ended with a supposedly working release step with maturin for musllinux here: https://github.com/pluots/stringmetrics/blob/main/.github/workflows/release-python.yaml I can maybe do some experimentation to try to get it to work also here later, but please anyone pick it up asap if at all possible - don't wait for me :) |
This should now be addressed by some more wheels built in 0.8.6 for MUSL. I'm going to leave this open for another few hours to address the other piece here (mentioning the need for Rust toolchain when building from source on some other platform) but in the meantime if someone can confirm that fixes this it'd be helpful. |
Looks like maybe there's one more to build for aarch64 as well (will try momentarily). |
OK, I've now added a note to the README, and also confirmed that for me here locally I get a wheel even within a container image. If anyone has additional platforms they expect wheels to be easily buildable for, a PR is always welcome. |
Would be nice to have an instruction with pre-requisites and what is the recommended way of installation.
I tried to install it inside docker with image python:3.11-alpine
The text was updated successfully, but these errors were encountered: