Skip to content

build(deps): bump soupsieve to 2.9.2 to clear the osv-scan advisories - #41703

Merged
kerry-berri merged 1 commit into
mainfrom
litellm_bump_soupsieve_osv
Sep 18, 2026
Merged

kerry-berri merged 1 commit into
mainfrom
litellm_bump_soupsieve_osv

Conversation

@devin-ai-integration

@devin-ai-integration devin-ai-integration Bot commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor

TLDR

Problem this solves:

How it solves it:

  • uv lock --upgrade-package soupsieve with the CI-pinned uv 0.10.9
  • soupsieve 2.8.4 -> 2.9.2, nothing else in the lock moves

User Flow

Before: a contributor opens any PR and the osv-scan check fails for a dependency they never touched

  1. They push a branch and open a PR against main
  2. The osv-scan check turns red, reporting two soupsieve advisories in uv.lock
  3. They have to explain to reviewers that the failure is unrelated to their change

After: the same PR gets a green osv-scan

  1. They push a branch and open a PR against main
  2. osv-scan passes because the locked soupsieve no longer carries an advisory
  3. Reviewers only see checks that reflect the PR's own changes

Relevant issues

Affected release

Linear ticket

Pre-Submission checklist

Please complete all items before asking a LiteLLM maintainer to review your PR

  • I have added meaningful tests (lock-only bump, no code path changes; osv-scan on this PR is the test)
  • The handful of test files covering my change pass locally
  • My PR passes all required CI/CD checks (e.g., lint, schema.d.ts sync check, etc.)
  • My PR's scope is as isolated as possible; it only solves 1 specific problem
  • I have received a Greptile Confidence Score of at least 4/5 before requesting a maintainer review

Screenshots / Proof of Fix

Before, at the merge base:

$ curl -s -X POST https://api.osv.dev/v1/query -d '{"package":{"name":"soupsieve","ecosystem":"PyPI"},"version":"2.8.4"}' | python3 -c 'import sys,json; print([v["id"] for v in json.load(sys.stdin).get("vulns",[])])'
['GHSA-gjv8-xp57-g29c', 'GHSA-j934-xhv5-fg8f']

After, at this PR's tip:

$ curl -s -X POST https://api.osv.dev/v1/query -d '{"package":{"name":"soupsieve","ecosystem":"PyPI"},"version":"2.9.2"}' | python3 -c 'import sys,json; print([v["id"] for v in json.load(sys.stdin).get("vulns",[])])'
[]

The lock diff is four lines: the soupsieve version, its sdist and wheel hashes, and the exclude-newer timestamp uv refreshes on every lock

Link to Devin session: https://app.devin.ai/sessions/856657f99c8247868aaca9a81ce95bdf
Open in Devin Desktop: https://app.devin.ai/desktop/session/856657f99c8247868aaca9a81ce95bdf?variant=devin


Note

Low Risk
Lockfile-only dependency bump with no runtime code changes; soupsieve remains within existing >=2.8.4 constraints.

Overview
Updates the locked soupsieve transitive dependency from 2.8.4 to 2.9.2 in uv.lock so CI osv-scan stops failing on GHSA-gjv8-xp57-g29c and GHSA-j934-xhv5-fg8f. No application code changes; the diff is the package version, sdist/wheel hashes, and the usual exclude-newer timestamp refresh from uv lock.

Reviewed by Cursor Bugbot for commit 76ae1bf. Bugbot is set up for automated code reviews on this repo. Configure here.

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@devin-ai-integration
devin-ai-integration Bot requested a review from a team September 17, 2026 23:56
@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment, CI, and merge conflict monitoring

@CLAassistant

CLAassistant commented Sep 17, 2026 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@kerry-berri

Copy link
Copy Markdown
Contributor

@greptileai

@kerry-berri

Copy link
Copy Markdown
Contributor

bugbot run

@greptile-apps

greptile-apps Bot commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 5/5

The isolated lockfile update appears safe to merge.

Summary

Upgrades the locked soupsieve dependency from 2.8.4 to 2.9.2 as security hardening.

  • Updates the source and wheel artifact hashes.
  • Refreshes the lockfile’s exclude-newer timestamp.
  • Leaves dependency manifests and all other locked packages unchanged.

Reviews (1) · Last reviewed commit: "build(deps): bump soupsieve to 2.9.2 to ..."

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

✅ 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 76ae1bf. Configure here.

@codspeed

codspeed Bot commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

Merging this PR will not alter performance

✅ 31 untouched benchmarks


Comparing litellm_bump_soupsieve_osv (76ae1bf) with main (deb9d8a)1

Open in CodSpeed

Footnotes

  1. No successful run was found on main (9e651c8) during the generation of this report, so deb9d8a was used instead as the comparison base. There might be some changes unrelated to this pull request in this report. ↩

@codecov

codecov Bot commented Sep 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@kerry-berri kerry-berri left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

lgtm

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.

2 participants