Closed notatallshaw-gts closed 1 week ago
I'll look now.
Very slightly changing the requirements.in
or constraints.txt
, or moving the constraints into the requirements produces the correct:
astroid==2.13.5 ; python_full_version >= '3.11' # via pylint
astroid==3.2.4 ; python_full_version < '3.11' # via pylint
Wow very interesting!
It looks like #6268 fixes this.
@charliermarsh How are you so fast?!?! Indeed, I just confirmed it's fixed in #6268 too:
$ cargo r --manifest-path ~/astral/uv/Cargo.toml -p uv -- pip compile requirements.in -c constraints.txt --universal --python-version 3.10 --annotation-style line 2>/dev/null | grep "astroid=="
astroid==2.13.5 ; python_full_version >= '3.11' # via pylint
astroid==3.2.4 ; python_full_version < '3.11' # via pylint
He has two clones of the repo so he can do twice as much!
Correct
Affected versions: uv 0.2.30 to uv 0.3.0+
Steps to reproduce:
requirements.in
:constraints.txt
:Which, if you try and install on Python 3.10 gives you: