uv/crates/uv-python
Jack O'Connor 08f2fa48ff
make the error message clearer when running distroless containers (#13549)
Previously you could get a confusing error message like this:

```
$ docker run ghcr.io/astral-sh/uv run python
error: Could not read ELF interpreter from any of the following paths: /bin/sh, /usr/bin/env, /bin/dash, /bin/ls
```

Now the error message is better:

```
error: Failed to discover managed Python installations
  Caused by: Failed to determine the libc used on the current platform
  Caused by: Failed to find any common binaries to determine libc from: /bin/sh, /usr/bin/env, /bin/dash, /bin/ls
```

See https://github.com/astral-sh/uv/issues/8635.

---------

Co-authored-by: konsti <konstin@mailbox.org>
Co-authored-by: Zanie Blue <contact@zanie.dev>
2025-05-29 10:29:01 -07:00
..
python Improve performance of uv-python crate's manylinux submodule (#11131) 2025-05-28 15:09:20 +02:00
src make the error message clearer when running distroless containers (#13549) 2025-05-29 10:29:01 -07:00
.gitignore minify and filter embed managed pythons json on compile time (#12967) 2025-04-30 15:51:03 -04:00
build.rs Only rebuild download JSON on change (#13261) 2025-05-02 07:49:34 -05:00
Cargo.toml Add DisplaySafeUrl newtype to prevent leaking of credentials by default (#13560) 2025-05-27 00:05:30 +02:00
download-metadata.json blocklist the linux cpython builds from 20250517 (#13617) 2025-05-23 18:15:16 -04:00
fetch-download-metadata.py blocklist the linux cpython builds from 20250517 (#13617) 2025-05-23 18:15:16 -04:00