Open maxkoretskyi opened 5 days ago
A dynamic version is problematic with our design, for discussion see #7533
Dynamic metadata in general isn't recommended. It adds a great deal of complexity to the packaging ecosystem. I'd recommend just using a static version, that's what we do here in this project. There's an issue at https://github.com/astral-sh/uv/issues/6298 tracking addition of a command to update the version programatically. Lots more context and discussion there.
great, thanks for the links, I'll explore
I'm using
pyproject.toml
to define package metadata:I can put the package's version (in this case
0.19.1b4
) directly into thepyproject.toml
, but are there more sophisticated scenarios supported byuv
?Something like this maybe
or perhaps there's a built-in tooling for version management.