uv
0c5ae1f2 - Differentiate between implicit vs explicit architecture requests (#13723)

Commit
198 days ago
Differentiate between implicit vs explicit architecture requests (#13723) In https://github.com/astral-sh/uv/pull/13721#issuecomment-2920530601 I presumed that all the installation problems in https://github.com/astral-sh/uv/pull/13722 were solved by https://github.com/astral-sh/uv/pull/13709 but they were not because we don't differentiate between implicit and explicit architecture requests so a request for `aarch64` is considered satisfied by an existing `x86-64` installation even if the user explicitly requested that architecture. Now, we track if it was explicit or implicit, requiring an exact match in the former case, and a `supports` in the latter. We considered doing this for other items in the request, like the operating system but we don't have a `supports()` concept there. It might make sense for libc in the future.
Author
Parents
Loading