2.8.9 test suite fails on Pillow 13, reference PDF predates it
Hi. Downstream report from nixpkgs, where we build from the git tag and run your test suite.
What happened:
- nixpkgs moved Pillow 12.3.0 to 13.0.0 via https://github.com/NixOS/nixpkgs/pull/575689, as a security update, see https://pillow.readthedocs.io/en/stable/releasenotes/13.0.0.html.
- With Pillow 13, the 2.8.9 tag fails
test/image/test_full_page_image.py::test_image_with_explicit_dimensions: got6732d6d8..., expectedc7b6e70b.... - I checked your master. PR #2043, commit
597cfff, already regeneratestest/image/image_with_explicit_dimensions.pdffor Pillow 13. I verified the master reference hashes to6732d6d8..., exactly what we generate locally, while the 2.8.9 reference hashes toc7b6e70b....
The ask: any chance of a 2.8.10 with just that regenerated test/image/image_with_explicit_dimensions.pdf, or should distros on 2.8.9 plus Pillow 13 carry a disable until 2.9.0? The released wheel is fine, this only hits checkouts of the tag running pytest, anyone testing 2.8.9 against Pillow 13 will hit it.
Thanks for the great library.
For reference, the downstream nixpkgs report is NixOS/nixpkgs#580380.
Hi @DuskyElf
Thanks for the detailed report and for tracking down the matching reference!
Our release process is tied to CI/CD, so publishing a 2.8.10 hotfix without the other changes currently on main would take considerable extra work.
I was already planning to release 2.9.0 at the end of October. I can start preparing it today and expect it to be available in about 24 hours.
If you need a quicker solution, you can backport commit 597cfff or temporarily disable the affected test. Otherwise, the upcoming release will include the updated reference PDF.
Thanks for the quick turnaround. That timeline works for us. We disabled test_image_with_explicit_dimensions on the nixpkgs side until 2.9.0 lands (NixOS/nixpkgs#580486), so no rush on our account.
closing as fpdf2 2.9.0 has been released