-
- Notifications
You must be signed in to change notification settings - Fork 301
Open
Description
In a pyproject.toml
of the form:
[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" }
the packages package-b
and mygitpackage
get bumped as well as myproject
(when running cz bump
) because the regex is just matching on the version number. These shouldn't be bumped and leads to errors when they are.