Skip to content

deps: Pillow 13.0.0 fixes the 39 advisories open against 12.3.0 - #458

Merged
HardMax71 merged 1 commit into
mainfrom
max/pillow-13
Oct 23, 2026
Merged

HardMax71 merged 1 commit into
mainfrom
max/pillow-13

Conversation

@HardMax71

@HardMax71 HardMax71 commented Oct 23, 2026 •

Copy link
Copy Markdown
Owner

Summary

Dependabot has 39 open alerts against Pillow 12.3.0 (4 critical, 23 high, 12 medium), all fixed in 13.0.0, and the SBOM workflow's Grype scan reports the same 39 under code scanning. Pillow comes in through the load group (matplotlib draws the load-test charts), so it never ships in the backend image.

Changes

Pillow>=13.0.0 in the load group, relocked with uv 0.13.5, the version CI runs. The lock diff is Pillow alone. 13.0.0 came out on 2026-10-16, a few hours short of the 7-day cooldown Dependabot uses, and goes in now on request.

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update
  • Refactoring (no functional changes)
  • CI/CD or tooling changes

Test Plan

  • Backend unit tests pass (cd backend && uv run pytest tests/unit)
  • Frontend unit tests pass (cd frontend && npm run test)
  • Backend E2E tests pass (docker compose exec -T backend sh -c 'uv sync --group test --no-dev --frozen --no-install-project --no-build && pytest tests/e2e')
  • Frontend E2E tests pass (cd frontend && npm run test:e2e)
  • API spec and client regenerated if routes or schemas changed (uv run python -m scripts.export_openapi in backend/, then npm run generate:api in frontend/), never edited by hand
  • Manual testing performed

Validation: tests/load/plot_report.py renders all three charts with Pillow 13.0.0 and matplotlib 3.11.2, and Pillow reads them back. All 140 locked packages come back clean from OSV, and npm audit finds nothing in the frontend lockfile.

Checklist

  • My code follows the project's style guidelines
  • I have run pre-commit run --all-files and all checks pass
  • I have added tests that prove my fix/feature works
  • I have updated documentation if needed
  • My changes don't introduce new warnings

Summary by cubic

Upgrades Pillow to 13.0.0 to fix the 39 security advisories (4 critical, 23 high, 12 medium) affecting 12.3.0. Pillow is only used by the load group for load-test charts, not in the backend image. Locked with the CI's uv version; the diff is Pillow alone. Verified all three charts render correctly with plot_report.py.

Written for commit 0981f70. Summary will update on new commits.

View guided diff Turn on auto-fix

Pillow is in the load group, pulled by matplotlib for the load-test charts; it isn't in the backend image. Locked with uv 0.13.5, the version CI runs; the lock diff is Pillow alone.
@HardMax71
HardMax71 enabled auto-merge (squash) October 23, 2026 19:12
@coderabbitai

coderabbitai Bot commented Oct 23, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 8790f3cd-cbee-40c0-a02e-29ecae008712
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@sonarqubecloud

Copy link
Copy Markdown

@codecov-commenter

codecov-commenter commented Oct 23, 2026 •

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Flag Coverage Δ
backend-e2e 82.04% <ø> (ø)
backend-unit 77.87% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
Backend 94.73% <ø> (ø)
Frontend 92.25% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@HardMax71
HardMax71 merged commit 4ee68f2 into main Oct 23, 2026
26 checks passed
@HardMax71
HardMax71 deleted the max/pillow-13 branch October 23, 2026 19:18
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.

2 participants