Repository navigation
fix(deps): update Pillow, aiohttp, virtualenv, and certifi for security fixes - #542
Merged
arekay-nv merged 2 commits intoOct 22, 2026
Merged
Conversation
…ty fixes pip-audit now reports 38 advisories against locked versions on main: - Pillow 12.3.0 -> 13.0.0 (24 CVEs) - aiohttp 3.14.3 -> 3.14.5 (7 CVEs, 1 GHSA) - virtualenv 21.7.13 -> 21.14.9 (5 CVEs) - certifi 2026.2.25 -> 2026.10.19 (PYSEC-2026-4320) Bump the three direct pins and add a certifi floor to the existing uv constraint-dependencies. aiohttp is pinned to 3.14.5 so the bfcl resolution fork lands on the same version instead of splitting. The relock also moves transitive distlib, packaging, and yarl. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
|
MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅ |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #542 +/- ##
=======================================
Coverage ? 81.37%
=======================================
Files ? 157
Lines ? 22472
Branches ? 0
=======================================
Hits ? 18286
Misses ? 4186
Partials ? 0 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
viraatc
approved these changes
Oct 22, 2026
viraatc
left a comment
Collaborator
There was a problem hiding this comment.
- The isolated environments still ship the vulnerable versions.
evaluation/swebench_servicepinsaiohttp==3.14.1(lock also has certifi 2026.6.17, virtualenv 21.6.1),evaluation/legacy_mlperf_deepseek_r1/uv.lockhas aiohttp 3.14.0 / certifi 2026.5.20, andexamples/09_Wan22_VideoGen_Example/accuracy/uv.lockhas Pillow 12.2.0 / certifi 2026.5.20. The swebench service is the one network-facing aiohttp server here, and theauditjob only syncs the root env, so CI can't see these. Could you re-lock those three with the same floors (or a tracked follow-up) and add a per-subprojectpip-audit? - The certifi floor is only in
[tool.uv].constraint-dependencies, sopip install .can keep 2026.2.25 (e.g. the OpenOrca downloader fetches and runs a script viarequests). Pinning it in[project].dependencieslikeanyio(pyproject.toml:110-113) would cover pip installs too.
[tool.uv] constraint-dependencies only apply to uv, so `pip install .` could keep a vulnerable certifi. Pin it in [project].dependencies, as anyio is, and drop the now-redundant uv floor. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Collaborator
Author
|
6 tasks done
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.
What does this PR do?
Fixes the
auditjob failure seen on #541. pip-audit reports 38 new advisoriesagainst packages that
mainalready locks, so every PR'sauditjob will failuntil they are fixed:
testpin, plus fsspec / dashscopedevpin, plus pre-commitOriginal failure: https://github.com/mlcommons/endpoints/actions/runs/39682718501/job/119508967427
Changes
pyproject.toml:certifi==2026.10.19in[project].dependencies, asanyiois. A[tool.uv] constraint-dependenciesfloor would only apply to uv, sopip install .could keep a vulnerable certifi that is already installed.uv.lock: relocked with explicit upgrades. The only version changes are thefour packages above plus transitive
distlib0.4.0 → 0.4.4,packaging26.0 → 26.3, and
yarl1.23.0 → 1.25.1. No packages are added or removed.aiohttp is pinned to 3.14.5 rather than the minimum fixed version, 3.14.4. With
3.14.4, the conflicting
bfclfork resolves to 3.14.5 while the main forkstays on 3.14.4, so the lock carries both versions. Pinning 3.14.5 keeps one
version across both forks.
Pillow 13 (major version)
The only direct use in this repo is
image.formatandimage.save(BytesIO, format=...)indataset_manager/predefined/shopify_product_catalogue/. Both are core APIthat this major bump doesn't affect. matplotlib 3.10.8 accepts Pillow 13.
Type of change
Testing
uv run pip-audit --ignore-vuln PYSEC-2026-3740: no knownvulnerabilities, one existing ignore (Remove pip-audit ignore for nltk PYSEC-2026-3740 once a fixed release ships #520).
uv pip check: all installed packages compatible.uv lock --checkwith local uv 0.12.10 and with the latest uv, 0.13.4.main: only the seven listed changes;235 packages before and after.
pytest -m "not slow and not performance"on macOS: the failing testsare the same set as on unmodified
main(macOS-only Linux CPU-affinity,/proc, and IPC socket-path tests). No new failures.Checklist
🤖 Generated with Claude Code