Skip to content

fix(deps): remediate Python Dependabot alerts - #1216

Merged
Abhijeet Prasad (AbhiPrasad) merged 1 commit into
mainfrom
abhi/fix-dependabot-issues-5bae24ec
Dec 1, 2026
Merged

Abhijeet Prasad (AbhiPrasad) merged 1 commit into
mainfrom
abhi/fix-dependabot-issues-5bae24ec

Conversation

@AbhiPrasad

Copy link
Copy Markdown
Member

Summary

  • Regenerate py/uv.lock so none of the locked versions match the 28 open Dependabot alerts. The lock now resolves virtualenv to 21.15.14 across dependency groups.
  • Replace the vulnerable LangChain 0.3 test environment with LangChain Core 1.7.7, which keeps the integration suite running on Python 3.10. Both LangChain sessions use the same patched companion packages and replay the existing provider recordings. Remove the 13 recordings specific to the retired session.

Validation

  • Compared every locked version with the affected ranges from all 28 open alerts.
  • Replayed test_langchain(latest) on Python 3.14 and test_langchain(1.7.7) on Python 3.10 and 3.14. All 21 tests passed in each run.
  • test_core, test_deepagents(latest), test_mcp_interop, uv lock --check, and pre-commit passed.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-01T15:49:29.862524Z 9ac728a PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@coderabbitai

coderabbitai Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

Changes: LangChain test configuration

Layer / File(s) Summary
Configure the LangChain test session
py/pyproject.toml, py/noxfile.py, py/scripts/session-weights.json, py/src/braintrust/integrations/langchain/cassettes/0.3.28/*
The dependency matrix and session weight now target 1.7.7. The session installs test-langchain and passes LATEST to the test run. The dedicated test-langchain-0-3 group and its conflict entries are removed, along with the 0.3.28 cassette recordings.

Suggested reviewers: delner, ibolmo

Change: Other

Merge Risk: Minimal · up to 9ac72 · assessed changes only

Path filters excluded changed files. This rating applies only to the assessed changes.

Architecture risk: Low · up to 9ac72

The LangChain test lane moved from a version-specific 0.3.28 setup to the shared test setup targeting core 1.7.7.

Changed areas: py

Review details

Systems and components

  • observed — 16 changed files mapped to py.
Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
Fix failing CI checks

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@greptile-apps

greptile-apps Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Confidence Score: 5/5 · The PR appears safe to merge; no actionable issues were found.RetriggerView in GreptileConfidence Score: 5/5

[Low impact] The PR appears safe to merge; no actionable issues were found.

Summary

This PR retires the LangChain 0.3 test environment and replaces it with langchain-core==1.7.7.

  • LangChain tests use patched core versions with shared provider pins and recordings.

No actionable issues were found. This review compared source and lockfile changes; it did not run tests.

Intentional change: AbhiPrasad explicitly described retiring the LangChain 0.3 session and its recordings to remove vulnerable dependencies.

Reviews (1) · Last reviewed commit: "fix(deps): remediate Python Dependabot a..." · Reviewed by Greptile

@AbhiPrasad
Abhijeet Prasad (AbhiPrasad) merged commit 2091226 into main Dec 1, 2026
98 of 100 checks passed
@AbhiPrasad
Abhijeet Prasad (AbhiPrasad) deleted the abhi/fix-dependabot-issues-5bae24ec branch December 1, 2026 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant