A Poetry plugin that automatically updates version strings in __init__.py and other files during poetry version bump. Current version 0.3.3, released 2024-03-21. Maintained irregularly, integrates directly with Poetry's version command.
pip install poetry-bumpversionNo compatibility data collected yet for this library.
Configure file patterns and run bumpversion command after version bump.
Install with 'poetry self add poetry-bumpversion' to ensure auto-trigger on 'poetry version'.
Replace 'version_regex' with 'version_pattern' in pyproject.toml.
Explicitly set file_patterns in pyproject.toml: [tool.poetry_bumpversion] file_patterns = ["**/__init__.py"]
Ensure version assignment is a simple string literal.
Run: poetry self add poetry-bumpversion
Set file_patterns in pyproject.toml under [tool.poetry_bumpversion].
Add or adjust version_pattern in config, or ensure files contain the expected pattern.
No resource links recorded.