We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rye version
dynamic = ['version']
pyproject.toml
[project] dynamic = ["version"]
rye version -b
rye version -b patch
The version gets bumped in the correct place, similar to what hatch version would do.
hatch version
The version gets written to the pyproject.toml file, resulting in:
[project] dynamic = ["version"] version = "1.2.3"
rye 0.32.0 commit: 0.32.0 (e1b4f2a 2024-03-29) platform: windows (x86_64) self-python: cpython@3.12.2 symlink support: true uv enabled: true
No response
The text was updated successfully, but these errors were encountered:
You have to use the hatch versioning mechanisms if you want to use dynamic versioning. Versioning - Hatch
They work fine.
Would be better if rye just wrapped them.
Sorry, something went wrong.
No branches or pull requests
Steps to Reproduce
pyproject.toml
with dynamic versioning:rye version -b
to bump the version:Expected Result
The version gets bumped in the correct place, similar to what
hatch version
would do.Actual Result
The version gets written to the
pyproject.toml
file, resulting in:Version Info
rye 0.32.0
commit: 0.32.0 (e1b4f2a 2024-03-29)
platform: windows (x86_64)
self-python: cpython@3.12.2
symlink support: true
uv enabled: true
Stacktrace
No response
The text was updated successfully, but these errors were encountered: