Dynamic version is not omitted when fields other than version
are marked as dynamic
#11460
Labels
bug
Something isn't working
version
are marked as dynamic
#11460
Summary
Consider this project
which results in the lock file
However, marking
dependencies
oroptional-dependencies
as dynamic results in the version being added touv.lock
:[project] name = "uv-more-dynamic" dynamic = [ + "dependencies", "version", ]
version = 1 requires-python = ">=3.13" [[package]] name = "uv-more-dynamic" + version = "0.1.dev0+d20250212" source = { editable = "." }
Platform
Darwin 24.3.0 arm64
Version
uv 0.5.30 (ddbc6e3 2025-02-10)
Python version
Python 3.13.1
The text was updated successfully, but these errors were encountered: