uv/docs
konsti ae57d85dfb
Detect musl and error for musl pbs builds (#6643)
As described in #4242, we're currently incorrectly downloading glibc
python-build-standalone on musl target, but we also can't fix this by
using musl python-build-standalone on musl targets since the musl builds
are effectively broken.

We reintroduce the libc detection previously removed in #2381, using it
to detect which libc is the current one before we have a python
interpreter. I changed the strategy a big to support an empty `PATH`
which we use in the tests.

For simplicity, i've decided to just filter out the musl
python-build-standalone archives from the list of available archive,
given this is temporary. This means we show the same error message as if
we don't have a build for the platform. We could also add a dedicated
error message for musl.

Fixes #4242

## Test Plan

Tested manually.

On my ubuntu host, python downloads continue to pass:
```
target/x86_64-unknown-linux-musl/debug/uv python install
```

On alpine, we fail:
```
$ docker run -it --rm -v .:/io alpine /io/target/x86_64-unknown-linux-musl/debug/uv python install
  Searching for Python installations
  error: No download found for request: cpython-any-linux-x86_64-musl
```
2024-08-27 00:06:53 +00:00
..
.overrides/partials/integrations/analytics Migrate from MdBook to MkDocs (#5062) 2024-07-15 22:22:07 +00:00
assets docs: add uv run docs for gui scripts (#6478) 2024-08-22 19:44:37 -05:00
concepts Detect musl and error for musl pbs builds (#6643) 2024-08-27 00:06:53 +00:00
configuration Add `UV_COMPILE_BYTECODE` environment variable (#6530) 2024-08-23 18:05:32 +00:00
getting-started Bump version to v0.3.4 (#6656) 2024-08-26 16:51:01 -04:00
guides Bump version to v0.3.4 (#6656) 2024-08-26 16:51:01 -04:00
js Improve copy of console command examples (#5397) 2024-07-31 14:52:02 +00:00
pip docs: Update pip compatibility pages to mention configuration files support (#6410) 2024-08-22 14:09:46 +00:00
reference Respect `tool.uv.environments` in `pip compile --universal` (#6663) 2024-08-26 23:58:17 +00:00
stylesheets Increase the size of nav entries (#6233) 2024-08-20 11:22:29 -05:00
.gitignore Add structured documentation (#4426) 2024-06-26 11:28:42 -05:00
index.md Link to Trio (#6322) 2024-08-21 07:48:52 -05:00
requirements-insiders.in Reference the root requirements from the insiders requirements file (#5105) 2024-07-16 09:51:16 -05:00
requirements-insiders.txt Reference the root requirements from the insiders requirements file (#5105) 2024-07-16 09:51:16 -05:00
requirements.in Migrate from MdBook to MkDocs (#5062) 2024-07-15 22:22:07 +00:00
requirements.txt Migrate from MdBook to MkDocs (#5062) 2024-07-15 22:22:07 +00:00