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
Add a new FAQ for describing how to handle the case that some dependency happens to have the same version as the project version #819
changed the title [-]Add a new FAQ for describing how to handle the case that some dependency happen to have the same version as the project version[/-][+]Add a new FAQ for describing how to handle the case that some dependency happens to have the same version as the project version[/+]on Aug 20, 2023
According to the comment #469, setting the version_provider to "poetry" in the tool.commitizen block should be enough to change the version value in the tool.poetry, but it does not work.
The commitizen documentation is unclear. In two places it mentions that the version field is only required if one uses the commitizen provider, see:
Your understanding is correct. version is only for the commitizen provider. Would you mind opening a new bug ticket with more information so we can take care of it. A sample of your poetry config and a commitizen config would be really helpful to reproduce.
Regards
Activity
[-]Add a new FAQ for describing how to handle the case that some dependency happen to have the same version as the project version[/-][+]Add a new FAQ for describing how to handle the case that some dependency happens to have the same version as the project version[/+]kasiagauza commentedon Aug 24, 2023
According to the comment #469, setting the version_provider to "poetry" in the tool.commitizen block should be enough to change the version value in the tool.poetry, but it does not work.
The commitizen documentation is unclear. In two places it mentions that the version field is only required if one uses the commitizen provider, see:
...but, if I use just the "poetry" version provider, then I get the following error:
poetry run cz bump --dry-run[NO_VERSION_SPECIFIED]Check if current version is specified in config file, like: (...)When I add version value to the tool.commitizen block, and keep the poetry provider, then bump updates only the version field in the commitizen block.
So either the poetry provider is not working, or the documentation should be improved (or both).
woile commentedon Aug 24, 2023
Your understanding is correct.
versionis only for the commitizen provider. Would you mind opening a new bug ticket with more information so we can take care of it. A sample of your poetry config and a commitizen config would be really helpful to reproduce.Regards
Add 853 contribution: commitizen-tools/commitizen#819
docs(faq): explain how to avoid bumping dependencies that share the p…
docs(faq): explain how to avoid bumping dependencies that share the p…