Skip to content

chore(deps-dev): bump pre-commit from 3.8.0 to 4.5.1#1591

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/uv/pre-commit-4.5.1
Open

chore(deps-dev): bump pre-commit from 3.8.0 to 4.5.1#1591
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/uv/pre-commit-4.5.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Mar 30, 2026

Bumps pre-commit from 3.8.0 to 4.5.1.

Release notes

Sourced from pre-commit's releases.

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

pre-commit v4.2.0

Features

  • For language: python first attempt a versioned python executable for the default language version before consulting a potentially unversioned sys.executable.

Fixes

... (truncated)

Changelog

Sourced from pre-commit's changelog.

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

4.3.0 - 2025-08-09

Features

... (truncated)

Commits
  • 8a0630c v4.5.1
  • fcbc745 Merge pull request #3597 from pre-commit/empty-setup-py
  • 51592ee fix python local template when artifact dirs are present
  • 67e8faf Merge pull request #3596 from pre-commit/pre-commit-ci-update-config
  • c251e6b [pre-commit.ci] pre-commit autoupdate
  • 98ccafa Merge pull request #3593 from pre-commit/pre-commit-ci-update-config
  • 4895355 [pre-commit.ci] pre-commit autoupdate
  • 2cedd58 Merge pull request #3588 from pre-commit/pre-commit-ci-update-config
  • 465192d [pre-commit.ci] pre-commit autoupdate
  • fd42f96 Merge pull request #3586 from pre-commit/zipapp-sha256-file-not-needed
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR 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)

Disclaimer: Experimental PR review

Greptile Summary

This PR bumps the pre-commit dev dependency from 3.8.0 to 4.5.1 (a major version upgrade). The change relaxes the upper bound in pyproject.toml from <4 to <5 and updates the uv.lock pin to the new version with fresh hashes.

  • pre-commit is a dev-only tool used for local git hook management; it is not shipped as part of the library's runtime.
  • The major version jump (3.x → 4.x) includes several new features (rootless Docker detection, --fail-fast for pre-commit run, language: unsupported aliases) and fixes, but no changes that affect project source code.
  • No source files or production dependencies were modified; the blast radius is limited entirely to the local developer workflow.

Confidence Score: 5/5

Safe to merge — dev-only dependency bump with no production code changes.

The only changed files are pyproject.toml and uv.lock, both scoped to the dev dependency group. pre-commit is never imported or executed at runtime; it only affects local developer tooling. All hashes in the lock file have been updated correctly by dependabot.

No files require special attention.

Important Files Changed

Filename Overview
pyproject.toml Upper bound for pre-commit dev dependency relaxed from <4 to <5 to allow the v4.x major version bump to 4.5.1.
uv.lock Lock file updated to pin pre-commit to 4.5.1 with new sdist and wheel URLs and verified hashes.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[pyproject.toml\npre-commit >=3.2.2,<5] -->|uv lock| B[uv.lock\npre-commit==4.5.1]
    B --> C[Developer installs dev deps]
    C --> D[pre-commit hooks run on git commit]
    D --> E[Linting / formatting checks pass]
Loading

Reviews (1): Last reviewed commit: "chore(deps-dev): bump pre-commit from 3...." | Re-trigger Greptile

Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 3.8.0 to 4.5.1.
- [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.5.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels Mar 30, 2026
Copy link
Copy Markdown

@claude claude bot left a comment

Choose a reason for hiding this comment

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

LGTM — straightforward dev dependency bump with correct lock file update.

Extended reasoning...

Overview\nThis PR bumps the dev dependency from 3.8.0 to 4.5.1, touching only (upper bound widened from to ) and (resolved version and hashes updated).\n\n### Security risks\nNone. is a dev-only tool used for running code quality hooks locally; it is not shipped in the distributed package and has no influence on production code paths.\n\n### Level of scrutiny\nVery low. This is a mechanical, automated Dependabot version bump of a dev tool. The version constraint change is the minimal correct adjustment needed to allow the 4.x release, and the lock file hashes are consistent with the published PyPI package.\n\n### Other factors\nNo bugs were found by the automated analysis. The PR follows the same pattern as other recent dependency bumps in this repo. No outstanding reviewer comments exist.

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:uv Pull requests that update python:uv code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants