-
-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
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
Version bump crashes #108
Comments
Thanks for reporting this so quickly. I'll focus on it immediately |
@rgryta Just a quick update. As I was looking at what you were doing, I believe it is related to changes on how I introduced While I update the documentation and fix incompatibility with old search/replace methods in toml files... Try this: [tool.bumpversion]
current_version = "0.1.26"
allow_dirty = true
commit = true
[[tool.bumpversion.files]]
filename = "pyproject.toml"
key_path = "<path.to>.version" An example for standard Or for poetry: |
I was having the same issue as @rgryta on v0.15.3 (at least in dry run mode, haven't tried to use it for real yet). I tried [[tool.bumpversion.files]]
filename = "pyproject.toml"
key_path = "tool.poetry.version" |
@proc-2 Can you verify that you are using 0.15.3? I'm asking because I have a specific test for this issue. The real issue is that the generic search for If you are really using 0.15.3, I'll need more information to be able to reproduce (and re-open) this. |
Description
Version bump crashes right before creating a commit and throws a KeyError.
Based on quick check - this issue started to appear since version 0.14.0.
What I Did
bump-my-version bump patch
pyproject.toml configuration (before bump):
The text was updated successfully, but these errors were encountered: