Closed
Description
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