Skip to content

MAINT: write 16-bit PNGs on Pillow 13 and test PyPy 8 - #1260

Merged
FirefoxMetzger merged 3 commits into
masterfrom
fix-ci
Nov 14, 2026
Merged

FirefoxMetzger merged 3 commits into
masterfrom
fix-ci

Conversation

@FirefoxMetzger

@FirefoxMetzger FirefoxMetzger commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

This PR updates ImageIO to follow the new pillow 13 API.

  • support for "I;16" and "I;16B" is removed; instead you can pass mode="I" directly
  • CI updates to PyPy 8 which now tests against Pillow 13

FirefoxMetzger and others added 2 commits November 14, 2026 08:45
Pillow 13 rejects mode I;16 in fromarray and will not save mode I as PNG. Build the image with fromarray and convert to I;16 using the array endianness.

Co-authored-by: Cursor <[email protected]>
Pillow 13 only publishes pp80 wheels, so the PyPy 7.3.23 pin can no longer install Pillow.

Co-authored-by: Cursor <[email protected]>
@FirefoxMetzger FirefoxMetzger changed the title BUG: write 16-bit PNGs on Pillow 13 and test PyPy 8 MAINT: write 16-bit PNGs on Pillow 13 and test PyPy 8 Nov 14, 2026
@FirefoxMetzger
FirefoxMetzger merged commit b69a11c into master Nov 14, 2026
17 checks passed
@FirefoxMetzger
FirefoxMetzger deleted the fix-ci branch November 14, 2026 14:16
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