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
The cz bump command to increment the version of the python poetry package, would automatically updates all version strings in the pyproject.toml file. This includes the version numbers of all dependencies, which can be problematic if you have complex dependencies and you don't want their versions to be updated.
If you use inline-table or standard-table syntax to specify package dependencies in pyproject.toml, you have to set the expected version using the 'version' property. If you run 'cz bump', it will also update these versions, which may not be what you want.
Incrementing the version of a Python package with complex dependencies using the 'version' property can inadvertently update the version of package dependencies, which may not be the intended outcome.
Desired behavior
cz bump should only bump the package version only. Or add support to temporarily disable bumping for a given code line/table/block.
Screenshots
No response
Environment
cz version: 3.28.0
Python: 3.11.8
OS: Darwin
The text was updated successfully, but these errors were encountered:
Lee-W
changed the title
Good bug title tells us about precise symptom, not about the root cause.
"cz bump" update all verions with the same version as the projceet version
Aug 11, 2024
Lee-W
changed the title
"cz bump" update all verions with the same version as the projceet version
"cz bump" update all verions with the same version as the project version
Aug 11, 2024
Uh oh!
There was an error while loading. Please reload this page.
Description
The
cz bump
command to increment the version of the python poetry package, would automatically updates all version strings in thepyproject.toml
file. This includes the version numbers of all dependencies, which can be problematic if you have complex dependencies and you don't want their versions to be updated.If you use inline-table or standard-table syntax to specify package dependencies in
pyproject.toml
, you have to set the expected version using the 'version' property. If you run 'cz bump', it will also update these versions, which may not be what you want.Steps to reproduce
cz bump
Current behavior
Incrementing the version of a Python package with complex dependencies using the 'version' property can inadvertently update the version of package dependencies, which may not be the intended outcome.
Desired behavior
cz bump
should only bump the package version only. Or add support to temporarily disable bumping for a given code line/table/block.Screenshots
No response
Environment
cz version: 3.28.0
Python: 3.11.8
OS: Darwin
The text was updated successfully, but these errors were encountered: