logoalt Hacker News

XorNotlast Tuesday at 9:21 PM2 repliesview on HN

Are we likely to get an "uv upgrade" command that makes sense sometime?

It's still very obtuse how to get uv to just try and make all my dependencies the highest version possible.


Replies

zanielast Tuesday at 9:46 PM

Yes! It's in progress — it's already there, just hidden as we iterate on it.

(but as a note, the initial `uv lock` will already attempt to choose the highest possible versions and `uv lock --upgrade` will do so again, requests for `uv upgrade` are generally centered around changing the constraints in the `pyproject.toml`)

show 1 reply
peterdsharpelast Tuesday at 9:29 PM

`uv sync --upgrade`? It's in the docs