You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
myPrivateLibrary_2==6.4.1
# via myProject (pyproject.toml)
myPrivateLibrary_1==84.0.0
# via myProject (pyproject.toml)
Expected content of my requirements.txt after running the command:
myPrivateLibrary_2==6.4.1
# via myProject (pyproject.toml)
myPrivateLibrary_1==84.0.1
# via myProject (pyproject.toml)
Actual content of my requirements.txt after running the command:
myPrivateLibrary_2==6.5.0
# via myProject (pyproject.toml)
myPrivateLibrary_1==84.0.1
# via myProject (pyproject.toml)
Note that removing the tool.uv.sources part of the pyproject.toml and running the same command produce the expected behaviour.
It seems as though I ran with the --upgrade-package flag on all packages in tool.uv.sources, which does not seem to be documented, intended or logical from an end user point of view.
If the observed behaviour is intended for your side, is there a way to circumvent it (other than removing the tool.uv.sources block, as I want to make use of the "explicit" index feature) ? Could you document this behaviour, or point me towards the relevant documentation if it exists ?
Thank you in advance
The text was updated successfully, but these errors were encountered:
Corentin-Bravo
changed the title
uv pip-compile upgrade dependencies from extra-index even without the --upgrade flag
uv pip-compile upgrade dependencies from tool.uv.sources even without the --upgrade flag
Jan 8, 2025
uv pip compile pyproject.toml --no-emit-index-url --python-platform=linux --output-file=requirements.txt
Note that removing the
tool.uv.sources
part of the pyproject.toml and running the same command produce the expected behaviour.It seems as though I ran with the
--upgrade-package
flag on all packages in tool.uv.sources, which does not seem to be documented, intended or logical from an end user point of view.If the observed behaviour is intended for your side, is there a way to circumvent it (other than removing the
tool.uv.sources
block, as I want to make use of the "explicit" index feature) ? Could you document this behaviour, or point me towards the relevant documentation if it exists ?Thank you in advance
The text was updated successfully, but these errors were encountered: