Skip to content

Commit 039b3c5

Browse files
Refine lack of musl distributions to ARM-only (#12825)
1 parent c117acf commit 039b3c5

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

docs/concepts/python-versions.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -363,11 +363,10 @@ The uv Python distributions are self-contained, highly-portable, and performant.
363363
built from source, as in tools like `pyenv`, doing so requires preinstalled system dependencies, and
364364
creating optimized, performant builds (e.g., with PGO and LTO enabled) is very slow.
365365

366-
These distributions have some behavior quirks, generally as a consequence of portability; and, at
367-
present, uv does not support installing them on musl-based Linux distributions, like Alpine Linux.
368-
See the
366+
These distributions have some behavior quirks, generally as a consequence of portability; see the
369367
[`python-build-standalone` quirks](https://gregoryszorc.com/docs/python-build-standalone/main/quirks.html)
370-
documentation for details.
368+
documentation for details. Additionally, some platforms may not be supported (e.g., distributions
369+
are not yet available for musl Linux on ARM).
371370

372371
### PyPy distributions
373372

docs/guides/integration/docker.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -222,11 +222,11 @@ $ docker run -it $(docker build -q .) /bin/bash -c "cowsay -t hello"
222222
ENV UV_TOOL_BIN_DIR=/opt/uv-bin/
223223
```
224224

225-
### Installing Python in musl-based images
225+
### Installing Python in ARM musl images
226226

227-
While uv [installs a compatible Python version](../install-python.md) if there isn't one available
228-
in the image, uv does not yet support installing Python for musl-based distributions. For example,
229-
if you are using an Alpine Linux base image that doesn't have Python installed, you need to add it
227+
While uv will attempt to [install a compatible Python version](../install-python.md) if no such
228+
version is available in the image, uv does not yet support installing Python for musl Linux on ARM.
229+
For example, if you are using an Alpine Linux base image on an ARM machine, you may need to add it
230230
with the system package manager:
231231

232232
```shell

0 commit comments

Comments
 (0)