Skip to content

MUSL distributions lacking proper interpreter information #260

Closed
@ofek

Description

@ofek

The following illustrates that for some reason the standalone distribution's pip does not consider MUSL wheels and will download the source distribution:

docker run --rm -d --name builder python:alpine sleep infinity
docker exec builder ash -c "apk update && apk add curl"
docker exec builder curl -LO https://github.com/indygreg/python-build-standalone/releases/download/20240415/cpython-3.12.3+20240415-x86_64_v3-unknown-linux-musl-install_only.tar.gz
docker exec builder tar xzf cpython-3.12.3+20240415-x86_64_v3-unknown-linux-musl-install_only.tar.gz
docker exec builder /python/bin/python -m pip install uv

I then got the idea to try installing with UV itself but that also doesn't work (but of course itself installs properly with the system Python): astral-sh/uv#3486

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestplatform:linuxSpecific to the Linux platform

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions