chore(release): replace bump2version with bump-my-version#99
Merged
Andreas-Garcia merged 7 commits intoApr 30, 2026
Conversation
Made-with: Cursor
Made-with: Cursor
Made-with: Cursor
Test Results1 113 tests 1 109 ✅ 7m 4s ⏱️ Results for commit db407ec. ♻️ This comment has been updated with latest results. |
This reverts commit 6cef783.
Made-with: Cursor
Made-with: Cursor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR migrates maintainer release bumps from deprecated bump2version to bump-my-version (maintained successor), centralizes configuration in
pyproject.toml, and bumps Click so the bump CLI runs in the same environment aspip install -e ".[dev]"(including the Composeapiimage withINSTALL_DEV=true).Related Issue
Type of Change
Target Branch
develop(for features, bug fixes, chores, dependency updates from Dependabot)main(for hotfixes only)Changes Made
Version bump tool
bump-my-version==1.3.0(replacesbump2version).[tool.bumpversion]and[[tool.bumpversion.files]]inpyproject.toml..bumpversion.cfg.scripts/prepare_release_bump.pyinvokesbump-my-version bump patch|minor|major(with--allow-dirtyby default unless--no-allow-dirty).Runtime dependency
Click7.0→8.3.3— required becausebump-my-versiondepends onclick<8.4and is incompatible with Click 7 in a shared dev install.Documentation and hygiene
CONTRIBUTING.md§7,docs/versioning.md,.cursor/rules/changelog-best-practices.mdc: references updated from bump2version /.cfgto bump-my-version /pyproject.toml.scripts/fix_changelog_after_bump.pydocstring andscripts/remove_prerelease_tags.shcomment aligned.CHANGELOG.md[Unreleased]updated (release tooling + packaging bullets)..venv-release/from.gitignore(no longer documented as a project convention).Packaging metadata
hear_the_music_tree_api.egg-info/refreshed forRequires-Dist/requires.txt(dev extra and Click pin).Testing
bump-my-version --helpsucceeds after resolving Click (local dev install).bump-my-version bump patch --dry-runfails without the release changelog marker## [Unreleased] <!-- release -->, as expected beforeprepare_release_bump.pystep 1 — full bump still validated via maintainer release flow +prepare_release_bump.py.pytestnot re-run in isolation for this tooling-only change; CItestworkflow exercisespip install -e ".[dev]".Checklist
chore/*intodevelopCHANGELOG.md[Unreleased]updatedBreaking Changes
None for API consumers. Maintainers must use
bump-my-versiononPATH(e.g.pipx install bump-my-version==1.3.0, dev env, or Composeapi) instead ofbump2version.Additional Notes
chore(release): replace bump2version with bump-my-version).