Skip to content

fix(security): safe in-major pip bumps (PyJWT, pypdf, sentencepiece) - #1142

Merged
mdheller merged 1 commit into
mainfrom
fix/dependabot-pip-security
Jul 31, 2026
Merged

fix(security): safe in-major pip bumps (PyJWT, pypdf, sentencepiece)#1142
mdheller merged 1 commit into
mainfrom
fix/dependabot-pip-security

Conversation

@mdheller

Copy link
Copy Markdown
Member

Second Dependabot tranche (after #1130 cleared the go criticals). Bumps the pip alerts that patch within the current major line — no API breakage:

Package From → To App
PyJWT 2.9.0 → 2.13.0 lattice-studio
pypdf 6.13.1 → 6.14.2 nugget-extractor (req + pyproject)
sentencepiece 0.2.0 → 0.2.1 noetica-impair

All three verified present on PyPI.

Deliberately held (would regress — need dedicated migration)

  • starlette 0.38.6 → 1.3.1 (×5 apps): 0.x→1.x breaks fastapi==0.115.0 (requires starlette <0.42). Needs a FastAPI-coupled migration + tests.
  • protobuf 4.25.9 → 5.29.6 (arcticdb-gateway): the only patched version is 5.x, which violates arcticdb 4.4.3's declared protobuf<5 bound. Needs an arcticdb upgrade first.
  • pypdf 5.1.0 → 6.x (lattice-studio): 5→6 major.
  • pytest → 9.0.3: dev-only (requirements-test.txt), batched separately.

npm tranche (undici + transitive lockfile deps in socioprophet-web) is a separate PR.

Clears Dependabot alerts that fix within the current major line (no API break):
- PyJWT 2.9.0 -> 2.13.0 (apps/lattice-studio)
- pypdf 6.13.1 -> 6.14.2 (apps/nugget-extractor: requirements.txt + pyproject.toml)
- sentencepiece 0.2.0 -> 0.2.1 (apps/noetica-impair)

Held for dedicated migration (major-version / dependency-conflict — would regress):
- starlette 0.38.6 -> 1.3.1 x5 apps: 0.x->1.x breaks fastapi==0.115.0 (needs <0.42)
- protobuf 4.25.9 -> 5.29.6: violates arcticdb 4.4.3 declared protobuf<5 bound
- pypdf 5.1.0 -> 6.x (apps/lattice-studio): 5->6 major
- pytest -> 9.0.3: dev-only, batched separately

All three patched versions verified present on PyPI.
Copilot AI review requested due to automatic review settings July 31, 2026 00:16
@mdheller
mdheller enabled auto-merge (squash) July 31, 2026 00:17

Copilot AI 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.

Pull request overview

Note

Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.

Updates select Python dependencies to patched versions within their current major lines to address security alerts while avoiding breaking changes.

Changes:

  • Bump pypdf in nugget-extractor (both requirements.txt and pyproject.toml).
  • Bump sentencepiece in noetica-impair.
  • Bump PyJWT in lattice-studio.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
apps/nugget-extractor/requirements.txt Updates pypdf pin to a newer patch version.
apps/nugget-extractor/pyproject.toml Keeps pyproject dependency pin in sync with requirements.txt for pypdf.
apps/noetica-impair/requirements.txt Updates sentencepiece pin to a newer patch version.
apps/lattice-studio/requirements.txt Updates PyJWT pin to a newer minor version within major line.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

httpx==0.27.2
rdflib==7.0.0
PyJWT==2.9.0
PyJWT==2.13.0
@mdheller
mdheller merged commit 511182e into main Jul 31, 2026
76 checks passed
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