Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump bump-my-version from 0.23.0 to 0.24.1 #1815

Merged
merged 1 commit into from
Jun 28, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 28, 2024

Bumps bump-my-version from 0.23.0 to 0.24.1.

Release notes

Sourced from bump-my-version's releases.

0.24.1

Compare the full difference.

Fixes

  • Refactor error handling in SCM and add error handling test. 7ca6356

    This commit includes a new test in test_scm.py to verify the correct formatting and raising of subprocess errors in the SCM module. Additionally, the subprocess error handling has been refactored in the SCM module to include a new method, format_and_raise_error, for improved code readability and reusability.

Other

0.24.0

Compare the full difference.

New

  • Add VersionNotFoundError test in test_bump.py. cb050a8

    The code in test_bump.py file has been modified to include a test for VersionNotFoundError exception. This ensures that the implementation properly handles cases where a specified version could not be found.

  • Add test for no commit on modification error. 7527029

    A test has been added to the bumpversion library to ensure that no commit and tag is made if there is an error modification. Specifically, the test checks the "do_bump" function and asserts that "mock_commit_and_tag" and "mock_update_config_file" are not called under these conditions.

Other

Updates

  • Improve error message for SCM command failures. 8f72f86

    The error message for failures in the SCM command execution has been enhanced. Now it displays not only the command's return code but also the standard output and error, improving the debugging process.

Changelog

Sourced from bump-my-version's changelog.

0.24.1 (2024-06-26)

Compare the full difference.

Fixes

  • Refactor error handling in SCM and add error handling test. 7ca6356

    This commit includes a new test in test_scm.py to verify the correct formatting and raising of subprocess errors in the SCM module. Additionally, the subprocess error handling has been refactored in the SCM module to include a new method, format_and_raise_error, for improved code readability and reusability.

Other

0.24.0 (2024-06-25)

Compare the full difference.

New

  • Add VersionNotFoundError test in test_bump.py. cb050a8

    The code in test_bump.py file has been modified to include a test for VersionNotFoundError exception. This ensures that the implementation properly handles cases where a specified version could not be found.

  • Add test for no commit on modification error. 7527029

    A test has been added to the bumpversion library to ensure that no commit and tag is made if there is an error modification. Specifically, the test checks the "do_bump" function and asserts that "mock_commit_and_tag" and "mock_update_config_file" are not called under these conditions.

Other

Updates

  • Improve error message for SCM command failures. 8f72f86

    The error message for failures in the SCM command execution has been enhanced. Now it displays not only the command's return code but also the standard output and error, improving the debugging process.

Commits
  • e26c169 Version updated from 0.24.0 to 0.24.1
  • 7f8159f Merge pull request #204 from callowayproject/fix-error-format
  • 86c0206 Fixed testing of the formatting. !minor
  • 48df43e Merge branch 'master' into fix-error-format
  • ad1c425 Merge pull request #201 from callowayproject/pre-commit-ci-update-config
  • 7ca6356 Refactor error handling in SCM and add error handling test.
  • 58aca6d Version updated from 0.23.0 to 0.24.0
  • 5506ace Merge pull request #203 from callowayproject/202-calledprocesserror-git-commi...
  • cb050a8 Add VersionNotFoundError test in test_bump.py
  • 8f72f86 Improve error message for SCM command failures
  • 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 will merge this PR once it's up-to-date and CI passes on it, as requested by @Zeitsperre.


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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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 0.23.0 to 0.24.1.
- [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@0.23.0...0.24.1)

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

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 Jun 28, 2024
Copy link
Collaborator

@Zeitsperre Zeitsperre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot merge

@github-actions github-actions bot added the approved Approved for additional tests label Jun 28, 2024
@dependabot dependabot bot merged commit 219f35f into main Jun 28, 2024
27 checks passed
@dependabot dependabot bot deleted the dependabot/pip/bump-my-version-0.24.1 branch June 28, 2024 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Approved for additional tests 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.

1 participant