-
Couldn't load subscription status.
- Fork 2.2k
Description
✅ Both Rye and Poetry have this, and it's quite useful both...
- to avoid manually incrementing the version number (and potentially making a mistake there with the digits),
- and to have this field on the
pyproject.tomlfile serve as the single source of truth for a project's version, easily accessible (viauv) in CI workflows, etc.
🛑 The latter is where my personal interests lie: I have a CI workflow that tags and deploys releases when the version is bumped, currently using Poetry for it. I don't really want to pull in an additional tool to parse the project specs, so it's currently keeping me from considering migrating to uv.
📜 My proposal is replacing the current functionality of the version subcommand with this, since uv's version can already be accessed via the -V | --version option, and other project management currently exist as "root" subcommands.
ℹ️ I'm willing to give this one a go myself if maintainers greenlight the proposal.