Repository navigation
chore(deps): bump dependencies to latest versions - #24
Merged
Merged
Conversation
There was a problem hiding this comment.
Orca Security Scan Summary
| Status | Check | Issues by priority | |
|---|---|---|---|
| Infrastructure as Code | View in Orca | ||
| SAST | View in Orca | ||
| Secrets | View in Orca | ||
| Vulnerabilities | View in Orca |
🛡️ The following SAST misconfigurations have been detected
| NAME | FILE | ||
|---|---|---|---|
| Missing Timeout in Requests Module Can Cause DoS | smoke_tests.py | View in code |
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.
Bumps all Python dependencies to their latest versions. The old pins were from August 2024 and carried known advisories:
torch.loadwithweights_only=True(CVE-2025-32434), untrusted checkpoints (CVE-2026-24747)trust_remote_code(CVE-2026-68770)All new versions support Python 3.11, which the images use.
FastAPI Content-Type fix
FastAPI 0.132 started rejecting request bodies that don't come with
Content-Type: application/json(422). Weaviate's reranker client (modules/reranker-transformers/clients/ranker.go) doesn't set that header, so every rerank call from Weaviate would fail after the bump. The app now setsstrict_content_type=False, the same fix as in t2v-model2vec. The newtestRerankWithoutContentTypesmoke test sends Weaviate's exact request shape without the header: it fails with 422 without the flag and passes with it.Testing
Built the image locally (arm64) with
cross-encoder/ms-marco-TinyBERT-L-2-v2and ransmoke_tests.py: all 6 tests pass, with no warnings or errors in the container logs. CI covers the other model images.Note: arm64 image size
PyTorch now ships CUDA builds for arm64 Linux on PyPI, so the arm64 image pulls
nvidia-*(~3.3 GB) andtriton(~0.9 GB) and grows to ~9.7 GB locally. torch 2.4.0 on arm64 had no CUDA deps. amd64 already shipped CUDA, so it's barely affected (~3.0 GB of compressed wheels, up from 2.84 GB). If we want to keep arm64 small and CPU-only, a follow-up can install torch from PyTorch's CPU index for arm64.