Wrong package resolution in uv sync
compared to uv pip compile
#7551
Labels
question
Asking for clarification or support
uv sync
compared to uv pip compile
#7551
I use the current version
0.4.12
, but I initially compiled my packages with0.4.8
and upgraded and synced since then sometimes, but I had an issue withainsible-lint
since the introduction ofuv
, but until now I didn't know why. But now I found out thatuv
is installing a very old version of the package.That's my
pyproject.toml
:--> I hardcoded the Python to
>=3.12.5,<3.13
uv sync --extra dev --verbose
produces the following versions:The package resolution
ansible-lint==6.8.7
is wrong as we can see withuv pip compile --extra dev pyproject.toml
that producesansible-lint==24.9.0
:Where does that version
6.8.7
come from? Is it expected thatuv sync
anduv pip compile
produce different package versions?The text was updated successfully, but these errors were encountered: