fix(security): safe in-major pip bumps (PyJWT, pypdf, sentencepiece) - #1142
Merged
Conversation
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.
Contributor
There was a problem hiding this comment.
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
pypdfinnugget-extractor(bothrequirements.txtandpyproject.toml). - Bump
sentencepieceinnoetica-impair. - Bump
PyJWTinlattice-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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Second Dependabot tranche (after #1130 cleared the go criticals). Bumps the pip alerts that patch within the current major line — no API breakage:
All three verified present on PyPI.
Deliberately held (would regress — need dedicated migration)
fastapi==0.115.0(requires starlette <0.42). Needs a FastAPI-coupled migration + tests.protobuf<5bound. Needs an arcticdb upgrade first.requirements-test.txt), batched separately.npm tranche (undici + transitive lockfile deps in socioprophet-web) is a separate PR.