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

provide Python builds for linux-aarch64-musl #6890

Open
mikolysz opened this issue Aug 30, 2024 · 7 comments
Open

provide Python builds for linux-aarch64-musl #6890

mikolysz opened this issue Aug 30, 2024 · 7 comments
Labels
enhancement New feature or improvement to existing functionality

Comments

@mikolysz
Copy link

linux-aarch64-musl is the platform one gets when using an Alpine-based Docker image and developing on Apple Silicon, which is a pretty common setup at this point. This set up currently (as of uv 0.4.1) doesn't support installing Python via uv, with the following error:

Searching for Python installations
error: No download found for request: cpython-any-linux-aarch64-musl

For other users encountering this issue, installing Python via app add python3 seems to work for now, although Alpine's packages tend to be fairly minimal, so more dependencies might be needed for larger projects.

@charliermarsh charliermarsh added the enhancement New feature or improvement to existing functionality label Sep 1, 2024
@charliermarsh
Copy link
Member

This is known but can't find an existing issue to link to -- will leave it up for now.

@charliermarsh
Copy link
Member

Related to #6643.

zanieb added a commit that referenced this issue Nov 25, 2024
Until #6890 is fixed, it seems nice to explain that we do not support it
zanieb added a commit that referenced this issue Nov 26, 2024
Until #6890 is fixed, it seems
nice to explain that we do not support it rather than the generic
message in #9428
@SamuelMarks
Copy link

What's the current progress here? - Need a hand?

@zanieb
Copy link
Member

zanieb commented Jan 1, 2025

If you're interested in lending a hand it's definitely welcome! I haven't started working on this part of python-build-standalone yet.

Briefly, it looks like there were some previous discussions:

astral-sh/python-build-standalone#86 seems like the best place to discuss implementation details, if necessary.

@SamuelMarks
Copy link

Ok, just took a look: https://github.com/astral-sh/python-build-standalone/releases/tag/20241219 doesn't have a build for my architecture + Linux + musl.

I'll get my other laptop back in a couple of days will try then

Happy New Year!

@mwarkentin
Copy link

I ran into this when attempting to use uv inside of an Alpine docker container (which is the first "derived image" mentioned on https://docs.astral.sh/uv/guides/integration/docker/#available-images.

My use case: working on a docker container that contains a grab bag of scripts that our team has built over time, and hoping to use uv to manage python versions and dependencies which may be different for each script, using the inline /// script definitions.

Will switch over to a Debian image for now instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or improvement to existing functionality
Projects
None yet
Development

No branches or pull requests

5 participants