mirror of
https://github.com/astral-sh/uv
synced 2026-01-26 16:00:14 -05:00
## Summary This PR makes a variety of invalid states unrepresentable by changing `Preference` to require a `PackageName` and `Version`, rather than accepting a generic `Requirement`. There should be no meaningful behavior changes.