Skip to content

build(deps-dev): bump pre-commit from 3.8.0 to 4.6.0#15

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/pre-commit-4.6.0
Closed

build(deps-dev): bump pre-commit from 3.8.0 to 4.6.0#15
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/pre-commit-4.6.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 22, 2026

⚠️ Dependabot is rebasing this PR ⚠️

Rebasing might not happen immediately, so don't worry if this takes some time.

Note: if you make any changes to this PR yourself, they will take precedence over the rebase.


Bumps pre-commit from 3.8.0 to 4.6.0.

Release notes

Sourced from pre-commit's releases.

pre-commit v4.6.0

Features

  • pre-commit hook-impl: allow --hook-dir to be missing to enable easier usage with git 2.54+ git hooks.

Fixes

pre-commit v4.5.1

Fixes

  • Fix language: python with repo: local without additional_dependencies.

pre-commit v4.5.0

Features

pre-commit v4.4.0

Features

Fixes

pre-commit v4.3.0

Features

... (truncated)

Changelog

Sourced from pre-commit's changelog.

4.6.0 - 2026-04-21

Features

  • pre-commit hook-impl: allow --hook-dir to be missing to enable easier usage with git 2.54+ git hooks.

Fixes

4.5.1 - 2025-12-16

Fixes

  • Fix language: python with repo: local without additional_dependencies.

4.5.0 - 2025-11-22

Features

4.4.0 - 2025-11-08

Features

Fixes

... (truncated)

Commits
  • f35134b v4.6.0
  • 2a51ffc Merge pull request #3662 from pre-commit/hook-impl-optional-hook-dir
  • d7dee32 make --hook-dir optional for hook-impl
  • 965aeb1 Merge pull request #3661 from pre-commit/hook-impl-required
  • 2eacc06 --hook-type is required for hook-impl
  • f5678bf Merge pull request #3657 from pre-commit/pre-commit-ci-update-config
  • 054cc5b [pre-commit.ci] pre-commit autoupdate
  • 5c0f302 Merge pull request #3652 from pre-commit/pre-commit-ci-update-config
  • a5d9114 [pre-commit.ci] pre-commit autoupdate
  • 129a1f5 Merge pull request #3641 from pre-commit/mxr-patch-1
  • Additional commits viewable in compare view

@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Apr 22, 2026
@cursor
Copy link
Copy Markdown

cursor Bot commented Apr 22, 2026

PR Summary

Low Risk
Low risk dev-only dependency bump; main impact is potential changes in local/CI pre-commit hook behavior.

Overview
Updates the development dependency pin in requirements-dev.txt, bumping pre-commit from 3.8.0 to 4.6.0.

Reviewed by Cursor Bugbot for commit 3608f94. Bugbot is set up for automated code reviews on this repo. Configure here.

@socket-security
Copy link
Copy Markdown

socket-security Bot commented Apr 22, 2026

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedpre-commit@​3.8.0 ⏵ 4.6.093 +1100100100100

View full report

Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 3.8.0 to 4.6.0.
- [Release notes](https://github.com/pre-commit/pre-commit/releases)
- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md)
- [Commits](pre-commit/pre-commit@v3.8.0...v4.6.0)

---
updated-dependencies:
- dependency-name: pre-commit
  dependency-version: 4.6.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/pip/pre-commit-4.6.0 branch from 01787cf to 3608f94 Compare April 22, 2026 02:11
haasonsaas added a commit that referenced this pull request Apr 22, 2026
Consolidates four Dependabot major-bump PRs. Each was individually
reviewed against actual usage in the codebase and found low-risk:

  #13  flask-limiter    3.8.0  -> 4.1.1
       Only uses Limiter(key_func=..., default_limits=...) and
       get_remote_address — both stable across 3.x -> 4.x.
       Smoke-tested orbit_agent.sms_server import: OK.

  #15  pre-commit       3.8.0  -> 4.6.0
       Requires Python >=3.9; our matrix is 3.11/3.12. Config schema
       in .pre-commit-config.yaml is compatible as-is.

  #16  rich             13.7.1 -> 15.0.0
       Only uses rich.console.Console and rich.table.Table in
       orbit_agent/cli.py — both stable.

  #18  gunicorn         22.0.0 -> 25.3.0
       Used only via README's CLI example; no Python imports.

Also syncs .pre-commit-config.yaml hook revs to match the repo's
own pinned tool versions:
  black:  24.8.0 -> 26.3.1
  ruff:   0.6.3  -> 0.15.11
Previously the hooks installed older black/ruff than the repo uses,
which could produce different formatting locally vs in CI.

Verified on Python 3.12:
  - pytest -q: 16/16 pass
  - ruff check .: clean
  - black --check .: clean
  - orbit_agent.sms_server imports cleanly with Flask-Limiter 4.x

The 4 corresponding Dependabot PRs (#13, #15, #16, #18) will
close automatically once this merges.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@haasonsaas
Copy link
Copy Markdown
Contributor

Superseded by #21 (deps: batched major-version updates). All four majors are now on main; this PR is redundant.

@haasonsaas haasonsaas closed this Apr 22, 2026
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Apr 22, 2026

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot Bot deleted the dependabot/pip/pre-commit-4.6.0 branch April 22, 2026 02:15
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant