Skip to content

build(deps): bump gitpython from 3.1.47 to 3.1.54 in /docs#858

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/docs/gitpython-3.1.54
Open

build(deps): bump gitpython from 3.1.47 to 3.1.54 in /docs#858
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/docs/gitpython-3.1.54

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 24, 2026

Copy link
Copy Markdown
Contributor

Bumps gitpython from 3.1.47 to 3.1.54.

Release notes

Sourced from gitpython's releases.

3.1.54 - SECURITY

What's Changed

Full Changelog: gitpython-developers/GitPython@3.1.53...3.1.54

3.1.53 - Security

What's Changed

New Contributors

Full Changelog: gitpython-developers/GitPython@3.1.52...3.1.53

3.1.52 Security

GHSA-rwj8-pgh3-r573: Environment-variable exfiltration via os.path.expandvars() on Repo.clone_from() URL

What's Changed

Full Changelog: gitpython-developers/GitPython@3.1.51...3.1.52

3.1.51 - Security

What's Changed

... (truncated)

Commits
  • e59d9ba prepare next release
  • a4dc70d Merge pull request #2180 from gitpython-developers/single-char-kwarg
  • 1d51b89 fix: guard diff output options
  • ffcb535 fix: reject unsafe clone templates
  • e8d0fbf fix: validate split short-option values
  • faf3c09 prepare for security fix
  • 6a5eb6a Merge pull request #2176 from gitpython-developers/fix-config-injection
  • 1ed1b92 fix: validate config section delimiters
  • 354eb2f Merge pull request #2159 from Siesta0217/fix-core-hooks-path-commit-hooks
  • 9bc287a Address review feedback about hook resolution
  • 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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [gitpython](https://github.com/gitpython-developers/GitPython) from 3.1.47 to 3.1.54.
- [Release notes](https://github.com/gitpython-developers/GitPython/releases)
- [Changelog](https://github.com/gitpython-developers/GitPython/blob/main/CHANGES)
- [Commits](gitpython-developers/GitPython@3.1.47...3.1.54)

---
updated-dependencies:
- dependency-name: gitpython
  dependency-version: 3.1.54
  dependency-type: indirect
...

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 Jul 24, 2026
@hermes-exosphere

Copy link
Copy Markdown

Automated code review started - full review. Results will be posted here.

@hermes-exosphere

Copy link
Copy Markdown

Build & test complete. Results:

  • Build (docs): Pre-existing failure in Pygments/pymdown-extensions (unrelated to this PR — same error on main)
  • Hash verification: ✅ Both sdist and wheel SHA-256 hashes verified against PyPI
  • Plugin compatibility: ✅ mkdocs-git-authors and mkdocs-git-revision-date-localized plugin load successfully with gitpython 3.1.54
  • API surface: ✅ Core gitpython APIs (Repo, commit iteration, diff) work correctly with 3.1.54
  • Change scope: 1 file changed (docs/uv.lock), 3 insertions, 3 deletions

@hermes-exosphere

Copy link
Copy Markdown

Automated Code Review

Executive Summary

This is a Dependabot security bump upgrading gitpython from 3.1.47 to 3.1.54 in the docs/ lockfile. The change is a 1-file, 6-line diff that updates version, sdist hash/URL, and wheel hash/URL. gitpython 3.1.47 has 12 known OSV security advisories; versions 3.1.48 through 3.1.54 contain security hardening patches. Code quality is clean — this is a mechanical lockfile update with no logic changes.


Change Architecture

graph TD
    A[docs/pyproject.toml] -->|transitive dep| B[gitpython 3.1.47]
    B -->|Dependabot bump| C[gitpython 3.1.54]
    C --> D[mkdocs-git-revision-date-localized-plugin]
    C --> E[mkdocs-git-authors-plugin]
    D --> F[docs build output]
    E --> F
Loading

Breaking Changes

None detected. gitpython 3.1.x is a patch-level release series; API surface tested with both plugins and all core operations work correctly.


Issues Found

None. All changes are mechanical:

  • Version: 3.1.47 -> 3.1.54
  • sdist URL and SHA-256 hash updated (verified against PyPI)
  • Wheel URL and SHA-256 hash updated (verified against PyPI)
  • gitdb dependency unchanged (still 4.0.12)

Security Analysis

gitpython 3.1.47 has 12 active OSV/GHSA advisories. The upgrade path includes security fixes:

  • 3.1.51: Reject abbreviated forms of unsafe git options
  • 3.1.52: Environment-variable exfiltration fix (GHSA-rwj8-pgh3-r573)
  • 3.1.53: Config section delimiter validation, commit hooks path fix
  • 3.1.54: Harden unsafe Git option validation, guard diff output options, reject unsafe clone templates

gitpython is a transitive dep via mkdocs-git-revision-date-localized-plugin. Docs-only — no production impact.


Evidence

SHA-256 Hash Verification:

sdist: expected=53f2085e24a2cda300eed7c3fc5f1559ae289634b725e98acaf4791940247aa0
sdist: actual=  53f2085e24a2cda300eed7c3fc5f1559ae289634b725e98acaf4791940247aa0
sdist: match=   True
wheel: expected=b90d7b3d9bc0238681d24369130826f0dcdb0ceaa45db67cf1d4ffa4c302dedf
wheel: actual=  b90d7b3d9bc0238681d24369130826f0dcdb0ceaa45db67cf1d4ffa4c302dedf
wheel: match=   True

Plugin Compatibility:

mkdocs-git-revision-date-localized-plugin: loaded ok
mkdocs-git-authors-plugin: loaded ok
gitpython version: 3.1.54

CI: build fails on pre-existing Pygments bug (same on main). ruff-changed-files: pass. spellcheck: pass.


Suggestions

Consider adding "gitpython>=3.1.52" to docs/pyproject.toml as a minimum version constraint to prevent accidental downgrades.


Verdict

VERDICT: APPROVED

@hermes-exosphere hermes-exosphere left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Automated review: Approved.

  • 1 file changed, 3 insertions, 3 deletions
  • Hash verification: both sdist and wheel SHA-256 verified against PyPI
  • Plugin compatibility: mkdocs-git-authors and mkdocs-git-revision-date-localized load correctly
  • Security: patches 12 OSV advisories in gitpython 3.1.47
  • CI failure (build) is pre-existing, unrelated to this PR

@hermes-exosphere hermes-exosphere left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Automated review: Approved. ✅

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.

1 participant