uv/crates/uv-distribution-types
Charlie Marsh faa12f50ce
Respect credentials from all defined indexes (#14858)
## Summary

The core problem here is that `allowed_indexes` only includes at most
one "default" index. This is problematic for tool upgrades, since the
index in the receipt will be marked as default, but credentials will be
omitted; if credentials are then defined in a `uv.toml`, we'll never
look at those, since that will _also_ be marked as default, and we only
look at the first default.

Instead, we should consider all defined indexes in priority order.

Closes https://github.com/astral-sh/uv/issues/14806.
2025-07-23 21:23:51 +00:00
..
src Respect credentials from all defined indexes (#14858) 2025-07-23 21:23:51 +00:00
Cargo.toml Require disambiguated relative paths for `--index` (#14152) 2025-06-25 10:02:06 +02:00