[project]
name = "myproject"
version = "1.2.3"
dependencies = [
"package-a==5.0.0",
"package-b==1.2.3"
]
[tool.commitizen]
name = "cz_conventional_commits"
version_files = ["pyproject.toml"]
tag_format = "v$version"
version_scheme = "pep440"
version_provider = "pep621"
[tool.uv.sources]
mygitpackage = { git = "...", rev = "v1.2.3" }
https://github.com/commitizen-tools/commitizen/blob/75a97e56bddac011e0d0eca3018fc0f873edbe4c/commitizen/bump.py#L131C4-L142C5
In a
pyproject.tomlof the form:the packages
package-bandmygitpackageget bumped as well asmyproject(when runningcz bump) because the regex is just matching on the version number. These shouldn't be bumped and leads to errors when they are.