mirror of
https://github.com/astral-sh/uv.git
synced 2025-11-01 12:24:15 +00:00
## Summary The fix I shipped in https://github.com/astral-sh/uv/pull/10690 regressed an important case. If we solve a PyPI branch before a PyTorch branch, we'll end up respecting the preference, and choosing `2.2.2` instead of `2.2.2+cpu`. This PR goes back to ignoring preferences that don't map to the current index. However, to solve https://github.com/astral-sh/uv/issues/10383, we need to special-case `requirements.txt`, which can't provide explicit indexes. So, if a preference comes from `requirements.txt`, we still respect it. Closes https://github.com/astral-sh/uv/issues/10772. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||