fix(deps): raise the tornado and pypdf floors for six new advisories - #39188
Conversation
|
bugbot run |
Greptile SummaryThis PR raises two dependency floors and refreshes the lockfile to consume patched releases.
Confidence Score: 5/5The PR appears safe to merge. No blocking failure remains.
|
| Filename | Overview |
|---|---|
| pyproject.toml | Raises the pypdf and Tornado minimum versions consistently with the stated dependency-hardening goal. |
| uv.lock | Reflects both updated constraints and resolves the intended patched package versions with matching artifacts. |
Reviews (2): Last reviewed commit: "Merge remote-tracking branch 'origin/lit..." | Re-trigger Greptile
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit 1eea8e2. Configure here.
…itellm_bump_tornado_658
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
bugbot run |
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit 647f32c. Configure here.
|
OSV now also flags pypdf 6.15.0 under three advisories; updating pypdf to 6.16.2 alongside tornado restores a clean scan |
…itellm_bump_tornado_658
GHSA-jp53-mhqp-8xcg (fixed in 6.16.0), GHSA-23w6-3w8w-8484 and GHSA-763m-79hh-57f2 (fixed in 6.16.1) flag pypdf 6.15.0 in uv.lock and keep osv-scan red alongside the tornado advisories. The proxy-runtime extra now requires pypdf>=6.16.1 and the lock resolves 6.16.2.
…itellm_bump_tornado_658
|
bugbot run |
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit f7b37e4. Configure here.
TLDR
Problem this solves:
How it solves it:
proxy-runtimeextra from 6.12.0 to 6.16.1User Flow
Before: anyone who scans a litellm install or opens a PR sees tornado and pypdf flagged, with CI red through no fault of their change
osv-scancheck fails with six findings fromuv.lock:pypdf 6.15.0flagged by https://osv.dev/GHSA-jp53-mhqp-8xcg (CVSS 6.9), https://osv.dev/GHSA-23w6-3w8w-8484 (CVSS 4.8) and https://osv.dev/GHSA-763m-79hh-57f2 (CVSS 4.8), andtornado 6.5.7flagged by https://osv.dev/GHSA-mpf4-983q-p7j4 (CVSS 7.5), https://osv.dev/GHSA-8423-8fgw-73vq (CVSS 6.9) and https://osv.dev/GHSA-wwv5-g3v4-889x (CVSS 2.3)After: the same scans come back clean
osv-scanand it passes; no pypdf or tornado findingsRelevant issues
Closes #39217
osv-scan went red on
litellm_internal_stagingitself between the 19:50Z run (green) and the 20:32Z run (red) on 2026-09-01, with no lockfile change in between: the tornado advisories were published upstream that evening, the pypdf ones about an hour later, and a third tornado advisory this morning. One PR carries both bumps rather than a seconduv.lockPR needing its own two approvals. Same shape as #32985 (soupsieve) and #33233 (httplib2/setuptools floors)Supersedes #39277 and #39285 (lock-only bumps of the same two packages) and dependabot's #39191 (tornado) and #39205 (pypdf 6.16.1, which the lock already passes)
Linear ticket
Resolves LIT-6648
Pre-Submission checklist
Please complete all items before asking a LiteLLM maintainer to review your PR
uv run pytest tests/test_litellm/<your_test_file>.py -v. Leave the suites (make test-unit-*,make test-unit) to CI: it finishes in ~15 minutes where a laptop takes an hour or more@greptileaito re-request a review after pushing changes)Screenshots / Proof of Fix
Both sides run the scanner the workflow pins (osv-scanner v2.3.8, sha256-verified) with the repo's
osv-scanner.toml, the same command.github/workflows/osv-scan.ymlruns:Before (2ce4e3f)
osv-scanrun on the staging branch fails the same way, minus the tornado advisory published after it ran (run)After (f7b37e4)
uv lock --upgrade-package pypdfwith the raised floor:Updated pypdf v6.15.0 -> v6.16.2; the lock diff touches only pypdf, tornado (from the earlier commit) and the relativeexclude-newerstamposv-scancheck passes at this commit (run)Type
🐛 Bug Fix
Caveats (if any)
Low
litellm[proxy-runtime]now needs pypdf 6.16.1 or newer; an environment pinning pypdf below that stops resolvingFinal Attestation
Note
Low Risk
Patch-level dependency floor bumps with no code changes; main impact is stricter resolution for installs pinning older tornado or pypdf.
Overview
Raises dependency floors so osv-scan stops flagging six newly published advisories on locked versions.
tornado is bumped via
[tool.uv] constraint-dependenciesfrom>=6.5.6to>=6.5.8; the lock resolves 6.5.8 (was 6.5.7). pypdf in theproxy-runtimeextra moves from>=6.12.0to>=6.16.1; the lock resolves 6.16.2 (was 6.15.0).uv.lockis refreshed accordingly (including theexclude-newerstamp).No application code changes—only version policy and lockfile updates to clear CI and downstream vulnerability scans.
Reviewed by Cursor Bugbot for commit f7b37e4. Bugbot is set up for automated code reviews on this repo. Configure here.