Skip to content

Allow Pillow 12 and test image generation - #136

Closed
demonno-agent wants to merge 1 commit into
pelican-plugins:mainfrom
demonno-agent:codex/support-pillow-12
Closed

demonno-agent wants to merge 1 commit into
pelican-plugins:mainfrom
demonno-agent:codex/support-pillow-12

Conversation

@demonno-agent

Copy link
Copy Markdown

Summary

The current Pillow<12.0.0 constraint prevents installing Photos with Pillow 12, including newer security-fix releases. Widen the bound to <13.0.0 while preserving the existing minimum. No image-processing implementation changes were needed in the tested configurations.

Add a regression test that processes the five queued fixture images and checks that the generated files decode as RGB JPEGs within the configured dimensions. Add a Python 3.12 CI matrix for Pillow 10.0.1, 11.3.0, 12.0.0, and 12.3.0, and make release publishing depend on it. The existing Python-version matrix remains intact.

Validation

  • Existing baseline: 14 tests pass with Pillow 11.3.0.
  • Expanded suite: 15 tests pass on Python 3.12 with each of Pillow 10.0.1, 11.3.0, 12.0.0, and 12.3.0.
  • pip check passes with the edited package installed normally alongside Pillow 12.3.0; no dependency overrides were used.
  • Ruff lint and format checks pass; git diff --check passes.
  • An additional real-site build with Pelican 4.12.0 and Pillow 12.3.0 succeeded with watermarking and EXIF settings enabled. All 146 generated gallery images decoded, matched the Pillow 11.3.0 build's dimensions and color modes, and contained no GPS EXIF. This is an integration smoke check, not a claim of pixel-identical output or coverage of every plugin option.

Local version-matrix checks ran on macOS arm64/Python 3.12. The existing CI matrix covers the other declared Python versions; those combinations were not run locally.

A patch release note is included in RELEASE.md.

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