Skip to content

versions of files defined in versions_files are not being updated after bumping #1731

@soymadip

Description

@soymadip

Description

i have pyproject.toml & defined this in config:

  version_files:
    - pyproject.toml:version

but when executing cz bump, after bump, the pyproject.toml's version is not updated

Steps to reproduce

  1. init a python project: uv init
  2. configure cz, then add pyproject.toml to version's array like above
  3. commit, bump

Current behavior

pyproject.toml doesn't update.

Desired behavior

it changes version.

Screenshots

No response

Environment

❯ cz version --report
Commitizen Version: 4.10.1
Python Version: 3.13.11 (main, Dec 15 2025, 10:06:06) [GCC 15.2.1 20251112]
Operating System: Linux

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions