Skip to content

chore(deps): bump bump-my-version from 1.8.4 to 1.8.7 - #38

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/bump-my-version-1.8.7
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/bump-my-version-1.8.7

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 5, 2026

Copy link
Copy Markdown

Bumps bump-my-version from 1.8.4 to 1.8.7.

Release notes

Sourced from bump-my-version's releases.

1.8.7

Compare the full difference.

Fixes

  • Fix(config): report unusable explicit config files without a traceback. 6eebb4f

  • Fix(config): report an unparsable --config-file instead of "Unable to determine the current version". 45c5c29

    A malformed --config-file is reported as "Unable to determine the current version"

    Every command accepts --config-file. When the file exists but is not valid TOML, it is silently ignored and the command runs with the defaults:

    $ printf '[[[bad\n' > bad.toml
    $ bump-my-version show --config-file bad.toml ; echo "exit=$?"
    

    ╭─ Error ────────────────────────────────────────────────╮ │ Unable to determine the current version. │ ╰────────────────────────────────────────────────────────╯ exit=2

    bump and show-bump give the same output. Nothing names bad.toml, so the only clue is a message about the version.

    Why

    find_config_file() treats an explicit file like a discovery candidate. _has_bumpversion_config() parses it through _load_toml_mapping(), which returns {} for invalid TOML. That fallback is intentional for discovery (test_malformed_input_does_not_raise), but for an explicit file it makes the file look absent. read_config_file(None) then only logs a warning and check_current_version() fails later with the misleading message.

    The same option reports the other bad paths cleanly

    $ bump-my-version show --config-file /nope.toml
    │ '/nope.toml' does not exist.                                      │
    

    $ bump-my-version show --config-file /tmp │ '/tmp' is a directory. │

    A file that exists but cannot be parsed is the third case of the same option, and it is the only one that loses the reason.

    Change

    find_config_file() returns an explicit file as-is when it exists instead of re-discovering it. read_toml_file() converts tomlkit's parse error into ConfigurationError, which the CLI already renders as a one-line usage error.

         if explicit_file:
    -        search_paths = [Path(explicit_file)]
    -    else:

... (truncated)

Changelog

Sourced from bump-my-version's changelog.

1.8.7 (2026-12-01)

Compare the full difference.

Fixes

  • Fix(config): report unusable explicit config files without a traceback. 6eebb4f

  • Fix(config): report an unparsable --config-file instead of "Unable to determine the current version". 45c5c29

    A malformed --config-file is reported as "Unable to determine the current version"

    Every command accepts --config-file. When the file exists but is not valid TOML, it is silently ignored and the command runs with the defaults:

    $ printf '[[[bad\n' > bad.toml
    $ bump-my-version show --config-file bad.toml ; echo "exit=$?"
    

    ╭─ Error ────────────────────────────────────────────────╮ │ Unable to determine the current version. │ ╰────────────────────────────────────────────────────────╯ exit=2

    bump and show-bump give the same output. Nothing names bad.toml, so the only clue is a message about the version.

    Why

    find_config_file() treats an explicit file like a discovery candidate. _has_bumpversion_config() parses it through _load_toml_mapping(), which returns {} for invalid TOML. That fallback is intentional for discovery (test_malformed_input_does_not_raise), but for an explicit file it makes the file look absent. read_config_file(None) then only logs a warning and check_current_version() fails later with the misleading message.

    The same option reports the other bad paths cleanly

    $ bump-my-version show --config-file /nope.toml
    │ '/nope.toml' does not exist.                                      │
    

    $ bump-my-version show --config-file /tmp │ '/tmp' is a directory. │

    A file that exists but cannot be parsed is the third case of the same option, and it is the only one that loses the reason.

    Change

    find_config_file() returns an explicit file as-is when it exists instead of re-discovering it. read_toml_file() converts tomlkit's parse error into ConfigurationError, which the CLI already renders as a one-line usage error.

         if explicit_file:
    -        search_paths = [Path(explicit_file)]
    -    else:

... (truncated)

Commits
  • d33ecc7 Version updated from 1.8.6 to 1.8.7
  • 2e5cdd3 Merge pull request #477 from callowayproject/fix/pr-472-malformed-config
  • 6eebb4f fix(config): report unusable explicit config files without a traceback
  • 78efad6 Merge pull request #472 from qianeric-backup/fix/malformed-config-report
  • 31b5858 Merge branch 'master' into fix/malformed-config-report
  • a50815b Version updated from 1.8.5 to 1.8.6
  • dfa8bd2 Merge pull request #476 from callowayproject/test/issue-474-cfg-version-regex
  • eaaf2d2 Merge master into test/issue-474-cfg-version-regex
  • afc124a Merge pull request #474 from youdie006/fix/cfg-version-regex-escape
  • afa17aa Version updated from 1.8.4 to 1.8.5
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [bump-my-version](https://github.com/callowayproject/bump-my-version) from 1.8.4 to 1.8.7.
- [Release notes](https://github.com/callowayproject/bump-my-version/releases)
- [Changelog](https://github.com/callowayproject/bump-my-version/blob/master/CHANGELOG.md)
- [Commits](callowayproject/bump-my-version@1.8.4...1.8.7)

---
updated-dependencies:
- dependency-name: bump-my-version
  dependency-version: 1.8.7
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Dec 5, 2026
@dependabot
dependabot Bot requested a review from jcook3701 as a code owner December 5, 2026 18:52
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Dec 5, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants