build(deps): bump gitpython from 3.1.47 to 3.1.50#20873
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 843f2e3b66838d7391f119596fedadf4c263000b. Configure here.
🤖 Cursor Dependency AnalysisSupply-Chain Malware ReviewVerdict: benign Why this looks safe
Residual risk (normal, not “malicious”): Like any release, bugs could exist; CI should still pass. For merge confidence, rely on green tests and that Compatibility AnalysisSearching the codebase for GitPython usage and checking how it's declared as a dependency. 1) Where it appears
2) Overlap with changed behavior (3.1.47 → 3.1.50)Upstream changes called out in the PR are security hardening: safer reference handling, stricter config writes (control characters / section-name validation), worktree Chia has no direct GitPython usage to intersect those APIs. The only runtime consumer in this dependency graph is 3) Risks / unknowns
4) RecommendationMerge (optionally merge with caveats: watch dev CI for Malware Scan Summary
Top findings
|
Coverage Report for CI Build 26295484600Warning Build has drifted: This PR's base is out of sync with its target branch, so coverage data may include unrelated changes. Warning No base build found for commit Coverage: 91.498%Details
Uncovered ChangesNo uncovered changes found. Coverage RegressionsRequires a base build to compare against. How to fix this → Coverage Stats💛 - Coveralls |
|
@dependabot recreate |
843f2e3 to
741b322
Compare
🤖 Cursor Dependency AnalysisSupply-Chain Malware ReviewVerdict: benign Evidence
Residual note: Merge after normal CI; treat this bump as desirable given labeled security releases in the span you’re adopting. Compatibility AnalysisSearching the codebase for GitPython usage and reviewing upstream changes relevant to those call sites. 1) Where
|
| Area | Versions |
|---|---|
| Reference handling / path safety | 3.1.48 |
| Config writes (control chars, key validation) | 3.1.49–3.1.50 |
| Pure-Python rev-parse behavior | 3.1.49 |
Repo() discovery with GIT_DIR + linked worktrees |
3.1.50 |
Bundled gitdb submodule bump (upstream repo); PyPI still pins gitdb via metadata |
3.1.50 |
Tach almost certainly uses git.Repo / repo introspection on your tree. That does touch Repo() discovery and possibly refs/config paths at the margins, but these releases are fixes and hardening, not advertised API removals.
First-party Chia code: no intersection — nothing to break at source level.
3) Risks / unknowns
- CI / dev-only: Impact is confined to environments where
tachruns (e.g. modular-architecture checks). Production installs withoutdevmay never install GitPython depending on how dependencies are resolved — still safe to treat this as low blast radius. - Stricter validation: Code that relied on writing odd config keys/values could now raise where it previously appeared to work — unlikely for normal
tachusage on this repo. - Rev-parse tweaks: Possible subtle behavior change for unusual refs/paths; low probability for typical monorepo CI.
4) Recommendation
Merge — Strong upside (security fixes on refs/config handling), no direct usage in chia/, dependency only via tach under dev.
Sanity check after merge: run whatever CI/job invokes tach (if any) once on the PR branch to confirm no tooling regression.
Malware Scan Summary
- Status: warn
- Warn only mode:
true - Changed upstream files scanned:
15 - Resolution strategy:
tag_range - Changed node/vendor paths:
0 - Changed lockfiles:
0 - Resolved upstream range:
4199cb89755f705801a4cb241723325b46201f51..5a294a6fc7ed5dc0946d4b576257bf926178f269 - Resolved refs: from=
4199cb89755f705801a4cb241723325b46201f51to=5a294a6fc7ed5dc0946d4b576257bf926178f269 - Unicode findings (post-allowlist):
0 - Confusable findings (post-allowlist):
0 - IOC findings (post-allowlist):
0 - Heuristic findings (post-allowlist):
9
Top findings
test/test_index.py:16shell_process_spawn ::import subprocesstest/test_index.py:86shell_process_spawn ::process: "subprocess.CompletedProcess[bytes]"test/test_index.py:93shell_process_spawn ::process: "subprocess.CompletedProcess[bytes]"test/test_index.py:126shell_process_spawn ::process = subprocess.run(command, capture_output=True)git/util.py:44shell_process_spawn ::import subprocessgit/util.py:356shell_process_spawn ::executable search on a native Windows system due to a :class:subprocess.Popengit/util.py:473shell_process_spawn ::process = subprocess.Popen([uname_cmd], stdout=subprocess.PIPE, universal_newlines=True)git/util.py:508shell_process_spawn ::def finalize_process(proc: Union[subprocess.Popen, "Git.AutoInterrupt"], **kwargs: Any) -> None:gitpython:0maintainer_drift ::3.1.47->3.1.50
|
@dependabot recreate |
Bumps [gitpython](https://github.com/gitpython-developers/GitPython) from 3.1.47 to 3.1.50. - [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.50) --- updated-dependencies: - dependency-name: gitpython dependency-version: 3.1.50 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
741b322 to
d72a2a4
Compare
🤖 Cursor Dependency AnalysisSupply-Chain Malware ReviewReviewing how gitpython is declared and used in this repo, and what the dependency update changes. Supply-chain malware review
Recommendation: Approve from a malware/supply-chain perspective. The scanner Compatibility AnalysisAnalyzing GitPython usage in the repo and comparing it with upstream changes in 3.1.48–3.1.50. Compatibility & adoption analysis — GitPython 3.1.47 → 3.1.501) Where it appears in this repoNo direct usage. There are no Transitive dev-only dependency:
How chia actually invokes it:
GitPython is gated behind 2) Intersection with changed APIs (3.1.48–3.1.50)Upstream changes are security/hardening, not breaking API removals:
Important:
Those code paths are read-only: open repo, 3) Risks / unknowns
Unknown: No chia CI job appears to run 4) Recommendation: mergeThis is a security-motivated patch bump (3.1.48–3.1.50) on a dev-only transitive dependency with no direct chia code coupling. The main pre-commit surface ( Merge rationale: picks up reference/config hardening with negligible compatibility risk; staying on 3.1.47 leaves known security fixes unapplied for dev tooling. Post-merge sanity check: confirm pre-commit CI passes (already the natural gate for this bump). No additional targeted testing required unless you routinely use Malware Scan Summary
Top findings
|

Bumps gitpython from 3.1.47 to 3.1.50.
Release notes
Sourced from gitpython's releases.
Commits
5a294a6bump version to 3.1.50d7b029fMerge pull request #2142 from gitpython-developers/fix-validate-config-key-ne...5453842Validate config key section names before writing1085a7cMerge pull request #2128 from meliezer/fix-worktree-git-dirb7f5fdeMerge pull request #2141 from gitpython-developers/dependabot/submodules/git/...4e8cd45Bump git/ext/gitdb from335c0f6to53c94d69e94459Merge pull request #2140 from gitpython-developers/dependabot/pre_commit/pre-...714e2e1Xfail Windows symlink-capable index mutation testb17f113Bump https://github.com/astral-sh/ruff-pre-commitaee2fd5bump version to 3.1.49Note
Low Risk
Low risk dependency-only change confined to
poetry.lock, though it may subtly affect any dev tooling that usesgitpython.Overview
Updates the locked
gitpythondependency from3.1.47to3.1.50inpoetry.lock, including the associated artifact hashes.Reviewed by Cursor Bugbot for commit 872ede9. Bugbot is set up for automated code reviews on this repo. Configure here.