uv add
with no version bound does not sufficiently update uv.lock
#8208
Labels
bug
Something isn't working
When adding a package via
uv add
with no lower bound, a lower bound is added to the entry in pyproject.toml, but this is not included in thespecifier
of the entry added to the root package'spackage.metadata.requires-dist
in uv.lock.Concretely, straight after a
uv add typing-extensions
,package.metadata.requires-dist
contains an entry like{ name = "typing-extensions" },
; after a subsequentuv lock
, this is transformed into{ name = "typing-extensions", specifier = ">=4.12.2" },
.Full example:
The text was updated successfully, but these errors were encountered: