mirror of
https://github.com/astral-sh/uv
synced 2026-01-24 15:00:18 -05:00
## Summary The current code was checking every constraint against every requirement, regardless of whether they were applicable. In general, this isn't a big deal, because this method is only used as a fast-path to skip resolution -- so we just had way more false-negatives than we should've when constraints were applied. But it's clearly wrong :) ## Test Plan - `uv venv` - `uv pip install flask` - `uv pip install --verbose flask -c constraints.txt` (with `numpy<1.0`) Prior to this change, Flask was reported as not satisfied.