Skip to content

chore(deps): update lock files to fix known vulnerabilities (GC1-104) - #280

Open
pmichalina-groq wants to merge 1 commit into
mainfrom
pmichalina/gc1-104-dependency-upgrades
Open

chore(deps): update lock files to fix known vulnerabilities (GC1-104)#280
pmichalina-groq wants to merge 1 commit into
mainfrom
pmichalina/gc1-104-dependency-upgrades

Conversation

@pmichalina-groq

@pmichalina-groq pmichalina-groq commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Part of GC1-104.

What

Update the rye lock files to remove all pinned versions that have published security advisories:

Package Old New Advisories
aiohttp 3.13.3 3.14.3 24 GHSA advisories fixed in the 3.14.x line (e.g. GHSA-2fqr-mr3j-6wp8)
filelock 3.19.1 3.32.2 GHSA-qmgc-5h2g-mvrw, GHSA-w853-jp5j-5j7f
idna 3.11 3.18 GHSA-65pc-fj4g-8rjx
pygments 2.19.2 2.20.0 GHSA-5239-wwwm-4pmq
pytest 8.4.2 9.1.1 GHSA-6w46-j5rx-g56g
pytest-asyncio 1.2.0 1.4.0 none; required by pytest 9

All other pins are unchanged. pydantic stays at 2.12.5 on purpose: pydantic 2.13 adds a polymorphic_serialization parameter to model_dump / model_dump_json, and the generated overrides in src/groq/_models.py do not accept it yet, so pyright fails. That bump belongs in Stainless codegen.

Verification

  • rye lock --all-features --update <pkg>... with rye 0.44.0 (the CI-pinned version)
  • ./scripts/lint passes (ruff, pyright, mypy, import check)
  • ./scripts/test passes: 732 passed, 62 skipped, plus the pydantic-v1 nox session
  • OSV batch scan of the updated requirements-dev.lock: 0 known vulnerabilities across all 59 pins

Note

Dependabot vulnerability alerts are disabled on this repository, which is why these advisories were silent. A repository admin should enable them (Settings -> Advanced Security -> Dependabot alerts). Tracked in GC1-104.

Companion PR: #281 switches PyPI publishing to Trusted Publishing (OIDC). The two PRs are independent; this one can merge first.

Updates the pinned versions with published security advisories:

- aiohttp 3.13.3 -> 3.14.3 (multiple advisories, e.g. GHSA-2fqr-mr3j-6wp8)
- filelock 3.19.1 -> 3.32.2 (GHSA-qmgc-5h2g-mvrw, GHSA-w853-jp5j-5j7f)
- idna 3.11 -> 3.18 (GHSA-65pc-fj4g-8rjx)
- pygments 2.19.2 -> 2.20.0 (GHSA-5239-wwwm-4pmq)
- pytest 8.4.2 -> 9.1.1 (GHSA-6w46-j5rx-g56g)
- pytest-asyncio 1.2.0 -> 1.4.0 (required by pytest 9)

All other pins are unchanged. pydantic stays at 2.12.5 because
pydantic 2.13 adds a model_dump parameter that the generated
model overrides do not accept yet (pyright failure).

OSV scan of the updated lock file reports zero known
vulnerabilities across all 59 pins.
@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedpypi/​idna@​3.11 ⏵ 3.18100100 +2100100100

View full report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants