Repository navigation
Raise the developer tools' Pillow floor to 13.0 - #120
Merged
Merged
Conversation
The developer tools locked Pillow 12.3.0. A dependency scan reports 42 CVEs against that release, 12 rated high and 30 medium, and all of them are fixed in Pillow 13.0.0. CVE-2026-128067 and CVE-2026-96644 are two of the high ones; the full set is in Pillow's published advisories. `tools/pyproject.toml` now requires `pillow>=13.0`, so a later lock cannot resolve back to an affected release, and `tools/uv.lock` locks 13.0.0. Pillow is the only package that changes in the lock. Pillow is a dependency of the Python developer tools only. It is not part of the mod JARs or the release archive. Its one use is `export_jpeg` in `tools/src/rtx_tools/benchmark/screenshots.py`, which opens a benchmark screenshot, converts it to RGB, resizes it, and saves a JPEG. **Testing** - `tests/benchmark/test_screenshots.py` passes on Pillow 13.0.0: 17 tests, run on macOS with Python 3.15.2. - Ruff format and lint pass. - The rest of the pytest suite was run on macOS only, where 7 tests fail. The same 7 fail on `main` with Pillow 12.3.0. - Not run: `tools\rtx.bat check --tests` on Windows. The `check` workflow runs it on this pull request. - Not run: a benchmark that exports screenshots through the new release. Signed-off-by: Sam Bourne <sbourne@nvidia.com> Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
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.
The developer tools locked Pillow 12.3.0. A dependency scan reports 42
CVEs against that release, 12 rated high and 30 medium, and all of them
are fixed in Pillow 13.0.0. CVE-2026-128067 and CVE-2026-96644 are two
of the high ones; the full set is in Pillow's published advisories.
tools/pyproject.tomlnow requirespillow>=13.0, so a later lockcannot resolve back to an affected release, and
tools/uv.locklocks13.0.0. Pillow is the only package that changes in the lock.
Pillow is a dependency of the Python developer tools only. It is not
part of the mod JARs or the release archive. Its one use is
export_jpegintools/src/rtx_tools/benchmark/screenshots.py, whichopens a benchmark screenshot, converts it to RGB, resizes it, and saves
a JPEG.
Testing
tests/benchmark/test_screenshots.pypasses on Pillow 13.0.0: 17tests, run on macOS with Python 3.15.2.
fail. The same 7 fail on
mainwith Pillow 12.3.0.tools\rtx.bat check --testson Windows. Thecheckworkflow runs it on this pull request.
release.
🤖 Generated with Claude Code