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
In CD workflows, it's handy to have a tool that can read and write the version of the project in its pyproject.toml file.
For example, poetry version (with no arguments) prints the project's version (in one of a few formats), and poetry version x.y.z updates the pyproject.toml file and sets tool.poetry.version = x.y.z.
I use both of these features in Harlequin's CD workflows, first to set the version from the release branch name, and then to create a GitHub release after the package is published. I would love to use uv instead.
(Poetry also includes a feature to bump the version based on a "bump rule" like minor, but I don't use that feature personally).
Today uv version and uv --version both display uv's version, not the project version.
This feature is similar to #5975 , and might be a subcommand of uv info or uv show (or uv project): uv info version --short etc. For CD use cases, it's important that the version number is easy to extract from the output.
The text was updated successfully, but these errors were encountered:
In CD workflows, it's handy to have a tool that can read and write the version of the project in its
pyproject.toml
file.For example,
poetry version
(with no arguments) prints the project's version (in one of a few formats), andpoetry version x.y.z
updates thepyproject.toml
file and setstool.poetry.version = x.y.z
.I use both of these features in Harlequin's CD workflows, first to set the version from the release branch name, and then to create a GitHub release after the package is published. I would love to use uv instead.
(Poetry also includes a feature to bump the version based on a "bump rule" like
minor
, but I don't use that feature personally).Today
uv version
anduv --version
both display uv's version, not the project version.This feature is similar to #5975 , and might be a subcommand of
uv info
oruv show
(oruv project
):uv info version --short
etc. For CD use cases, it's important that the version number is easy to extract from the output.The text was updated successfully, but these errors were encountered: