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.24.3 to 0.25.0 #1871

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 7, 2024

Bumps bump-my-version from 0.24.3 to 0.25.0.

Release notes

Sourced from bump-my-version's releases.

0.25.0

Compare the full difference.

Fixes

  • Refactor error handling and improve logging in utils. 890b692

    Extracted error formatting to a dedicated function and applied it across the codebase. Improved command path handling in add_path and enhanced test coverage with necessary imports and logging configurations.

  • Fix dictionary merging in SCMInfo. 5fb5ef2

    Replaced the bitwise OR operator with the update method for merging dictionaries for 3.8 support

  • Refactor SCM info retrieval and config file update checks. 500ecd3

    Replaced ChainMap with MutableMapping in function signatures and types. Enhanced SCM info handling by splitting code into dedicated methods for commit and revision info retrieval. Added logic to prevent config file updates when the file is outside the repo and implemented corresponding test.

New

  • Add repository_root field and refactor subprocess handling. 25670d0

    Introduced the repository_root field to store the root path of the repository in the data classes. Refactored subprocess handling to use a new run_command utility for improved readability and error handling consistency. Removed unnecessary dependency from .pre-commit-config.yaml to streamline dependencies.

Other

  • Simplify run_command return type. b91224e

    Changed the return type of run_command from CompletedProcess[str] to CompletedProcess. This was done to remove unnecessary type specificity and ensure compatibility with different Python versions. The update maintains functionality and improves code readability.

  • [pre-commit.ci] pre-commit autoupdate. e0ba544

    updates: - github.com/astral-sh/ruff-pre-commit: v0.5.2 → v0.5.5

Changelog

Sourced from bump-my-version's changelog.

0.25.0 (2024-08-06)

Compare the full difference.

Fixes

  • Refactor error handling and improve logging in utils. 890b692

    Extracted error formatting to a dedicated function and applied it across the codebase. Improved command path handling in add_path and enhanced test coverage with necessary imports and logging configurations.

  • Fix dictionary merging in SCMInfo. 5fb5ef2

    Replaced the bitwise OR operator with the update method for merging dictionaries for 3.8 support

  • Refactor SCM info retrieval and config file update checks. 500ecd3

    Replaced ChainMap with MutableMapping in function signatures and types. Enhanced SCM info handling by splitting code into dedicated methods for commit and revision info retrieval. Added logic to prevent config file updates when the file is outside the repo and implemented corresponding test.

New

  • Add repository_root field and refactor subprocess handling. 25670d0

    Introduced the repository_root field to store the root path of the repository in the data classes. Refactored subprocess handling to use a new run_command utility for improved readability and error handling consistency. Removed unnecessary dependency from .pre-commit-config.yaml to streamline dependencies.

Other

  • Simplify run_command return type. b91224e

    Changed the return type of run_command from CompletedProcess[str] to CompletedProcess. This was done to remove unnecessary type specificity and ensure compatibility with different Python versions. The update maintains functionality and improves code readability.

  • [pre-commit.ci] pre-commit autoupdate. e0ba544

    updates: - github.com/astral-sh/ruff-pre-commit: v0.5.2 → v0.5.5

Commits
  • 195d8d6 Version updated from 0.24.3 to 0.25.0
  • 6f2448a Merge pull request #219 from callowayproject/216-support-external-config-files
  • 890b692 Refactor error handling and improve logging in utils
  • 5fb5ef2 Fix dictionary merging in SCMInfo
  • b91224e Simplify run_command return type
  • 500ecd3 Refactor SCM info retrieval and config file update checks
  • 25670d0 Add repository_root field and refactor subprocess handling
  • efa87b6 Merge pull request #214 from callowayproject/pre-commit-ci-update-config
  • e0ba544 [pre-commit.ci] pre-commit autoupdate
  • See full diff 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 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.24.3 to 0.25.0.
- [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.24.3...0.25.0)

---
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 Aug 7, 2024
@coveralls
Copy link

Coverage Status

coverage: 82.981% (-6.3%) from 89.262%
when pulling 742f4ba on dependabot/pip/bump-my-version-0.25.0
into 1407011 on main.

@github-actions github-actions bot added the approved Approved for additional tests label Aug 7, 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

Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 7, 2024

One of your CI runs failed on this pull request, so Dependabot won't merge it.

Dependabot will still automatically merge this pull request if you amend it and your tests pass.

Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 7, 2024

Superseded by #1873.

@dependabot dependabot bot closed this Aug 7, 2024
@dependabot dependabot bot deleted the dependabot/pip/bump-my-version-0.25.0 branch August 7, 2024 19:28
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.

2 participants