Closed TheRealBecks closed 2 months ago
I also tried version 0.4.0
, but that does not change the python_full_version
.
resolution-markers
is effectively internal bookkeeping for the resolver. Are you seeing an incorrect resolution?
Generally it's expected for these markers to be disjoint. See the documentation on forking at https://docs.astral.sh/uv/reference/resolver-internals/#forking
I requested Python 3.12 (12!), but the resolution-markers
are:
< '3.13'
--> That's correct for version 3.12>= '3.13'
--> That's wrong for version 3.12. I expected >= '3.12'
So I think that's wrong? 😀
That's still ok! It's internal state that represents how we resolved the dependencies. It doesn't effect the outcome when you run uv sync
or similar.
Okay, if you say so then this issue/question can be closed! 😀
Thanks a lot for the fast response!
Related #6150
I have the following
pyproject.toml
:requires-python
is hard coded to version==3.12
.With
uv sync
(without any extras to be installed) auv.lock
has been created with the following data in the first few lines:The second line of
python_full_version
looks wrong as it declares the version to be>= '3.13'
while the first one says< '3.13'
.I used
uv
in version0.3.5
on Opensuse Tumbleweed Linux.