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
{{ message }}
Repository navigation
Setting out to Cargo.toml with workspace.package.version result in format changing. #38
I have a Rust application and I would like to pump the version in my Cargo.toml each time I make a new release.
My version field resides under workspace.package.version, every time I try to pump the version bumper seems to reformat the whole file into a different format:
Adding indentations.
Splitting dependencies into workspace.dependencies.serde and so on.
Desired solution
Nothing should change except for the version.
Workaround
I had to install another crate ( cargo-edit ) with an after:bump hook to update the version.
@webpro the changes made in #43 lead - in case of python projects - to the situation, that in case there is a dependency within your pyproject.toml having the exact same version, that this might get bumped as well?
@webpro the changes made in #43 lead - in case of python projects - to the situation, that in case there is a dependency within your pyproject.toml having the exact same version, that this might get bumped as well?
@webpro the changes made in #43 lead - in case of python projects - to the situation, that in case there is a dependency within your pyproject.toml having the exact same version, that this might get bumped as well?
@dhofstetter you were absolutely right about this and I stumbled into that exact issue. This should be fixed now following #53.
Activity
PaulBartonADVR commentedon Jan 8, 2025
@kareemmahlees, could you try to upgrade to 7.0.0 and see if your issue has been resolved?
kareemmahlees commentedon Jan 13, 2025
@pbarton-andovercos roger, I am a bit busy currently so I cannot guarantee when I will confirm this.
jimmyn commentedon Mar 7, 2025
Having the same issue
alex-pirogov commentedon Mar 25, 2025
having this issue with python's pyproject.toml
VhalPurohit commentedon Apr 3, 2025
For me its also removing any comments that I left before the bump in my pyproject.toml
dhofstetter commentedon Apr 2, 2026
@webpro the changes made in #43 lead - in case of python projects - to the situation, that in case there is a dependency within your pyproject.toml having the exact same version, that this might get bumped as well?
alex-pirogov commentedon Apr 4, 2026
try specifying path like this
JamesMBarr commentedon May 26, 2026
@dhofstetter you were absolutely right about this and I stumbled into that exact issue. This should be fixed now following #53.