Skip to content

Raise the developer tools' Pillow floor to 13.0 - #120

Merged
sambvfx merged 1 commit into
mainfrom
bump-pillow-13
Nov 23, 2026
Merged

sambvfx merged 1 commit into
mainfrom
bump-pillow-13

Conversation

@sambvfx

@sambvfx sambvfx commented Nov 23, 2026

Copy link
Copy Markdown
Collaborator

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.

🤖 Generated with Claude Code

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>
@sambvfx
sambvfx merged commit a37b3b4 into main Nov 23, 2026
11 checks passed
@sambvfx
sambvfx deleted the bump-pillow-13 branch November 23, 2026 16:55
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.

1 participant