Skip to content

Upgrade release builds to Pillow 13.0.0 - #289

Merged
ZallaxDev merged 1 commit into
ZallaxDev:integrationfrom
mkrieger95:build/mkrieger95-release-pillow-13
Nov 20, 2026
Merged

ZallaxDev merged 1 commit into
ZallaxDev:integrationfrom
mkrieger95:build/mkrieger95-release-pillow-13

Conversation

@mkrieger95

Copy link
Copy Markdown

Why upgrade

Upgrade the release Pillow pin from 12.3.0 to 13.0.0 to reduce the time maintainers and contributors spend waiting on clean 3DS builds. The release docs now refer readers to the pin in upstream.lock.

Clean-build benchmark

Pillow 13.0.0 saved 196.3 seconds (3m 16s, 8.2%) across the clean build and engine-only packaging in the fork trial.

Step Pillow 12.3.0 Pillow 13.0.0
Clean 3DS build (asset generation, validation, compile and link) 38m 50s 35m 39s
Engine-only packaging 57s 52s
Total 39m 47s 36m 31s

Each version ran once in a separate clean checkout on the same Linux machine with the same source, Python 3.15.2, the pinned devkitARM GCC 16.1.0 toolchain, and -j4. The timings exclude dependency setup and include the build's visual checks. They measure local developer build time.

Validation

  • Both clean builds verified all 6,417 indexed assets and passed the voxel checks. All 6,444 generated RomFS files matched byte for byte, and both engine-only packages passed the release audit.
  • With the current release interpreter, Python 3.13.17, the builder suite had 262 passes and 2 skips on each Pillow version with PYTHON_CPU_COUNT=1. A parallel test fixture can read regions.bin before its producer writes it. The same failure reproduced in 3 of 20 targeted runs on each Pillow version.
  • The repository release audit passed and the release image helper resolves Pillow 13.0.0 from the lockfile. Full ROM-backed releases and Windows packaging were outside this comparison.

#286 lets hosted CI consume the release pin. #288 is the separate Python upgrade used for the benchmark. If #288 lands first, this branch will need a small rebase because both PRs edit adjacent lines in the lockfile and release docs.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-18T22:42:38.224388Z 98ffe77 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@ZallaxDev

Copy link
Copy Markdown
Owner

Thanks @mkrieger95! #288 (Python 3.15.2) is now merged into integration. As you anticipated, this branch needs a small rebase for the adjacent upstream.lock and release docs lines. Once it's rebased, CI will run with Pillow 13.0.0 on Python 3.15.2. Thanks also for the detailed benchmark!

@mkrieger95
mkrieger95 force-pushed the build/mkrieger95-release-pillow-13 branch from 98ffe77 to 0cf082d Compare November 19, 2026 12:04
@mkrieger95

Copy link
Copy Markdown
Author

Thanks @ZallaxDev ! I rebased #289 onto integration after #288 merged and resolved the conflicts in upstream.lock and the release docs. The PR is mergeable now, and the local release audit passed. CI for the rebased commit⁠ is testing Pillow 13.0.0 with Python 3.15.2.

@mkrieger95
mkrieger95 force-pushed the build/mkrieger95-release-pillow-13 branch from 9f11965 to 357fd81 Compare November 19, 2026 22:35
@ZallaxDev

Copy link
Copy Markdown
Owner

Thanks a lot, mkrieger95, for the Pillow 13 bump and for checking that the RomFS output stays identical. With #286 and #288 in, the CI now installs pillow 13.0.0 in the release container and on Python 3.15.2, and everything is green. Merging. (Side note for a later PR, no need to do it here: the generators still use getdata(), which is deprecated in Pillow 13, so it may be worth migrating it at some point without raising the minimum Pillow version.)

@ZallaxDev
ZallaxDev merged commit b8526c1 into ZallaxDev:integration Nov 20, 2026
5 checks passed
ZallaxDev added a commit that referenced this pull request Nov 21, 2026
- public_sync: an integration commit is held when each file has what it adds; changelog credits beside the pull requests' own entries
- Changelog: public pull requests #190 #209 #262-#300, by their authors
- public_sync: dev takes integration's ported pull requests as their own commits; a conflict or unported pull requests are problems, not a line
- Public export: the benchmark, profiling and macOS builder test tools (#293, #295, #300)
- Public export: upstream.lock's Python 3.15.2 and Pillow 13.0.0 (#288, #289)
- Harden Emerald 3DS runtime and builder workflows (#300)
- Replace deprecated Pillow pixel reads in voxel tools (#294)
- Add opt-in macOS standalone builder support (#295)
- Locales: move the Japanese span in main_menu.c past the main menu card (#298)
- Fly map: choose the destination with the +Control Pad (#267)
- Bottom screen: a tap on the map that slides a little still goes on with a message (#281)
- Summary: give the trainer memo room for a third line (#269)
- Summary: show Pokémon status icons (#270)
- Main menu: the saved game's trainer card on the top screen (#284)
- Restore Japanese naming marks and full touchscreen rows (#275)
- Speed up voxel generation to shorten development builds (#293)
- Release: ship bottom/menu_top.bin with the engine files (#280)
- Bag: planting a berry opens it in the bottom screen's window (#283)
- Frontier Pass map: the picture half as big again, filling its plate (#282)
- CI: support Ubuntu 26.04 with non-PIE sanitizer fixtures (#290)
- Startup: the data pack errors and the START hint in French and Italian (#209)
- Installation: step-by-step builder for Linux and macOS (#190)
- Bottom screen: reuse unchanged wild-list snapshots (#273)
- Upgrade release builds to Pillow 13.0.0 (#289)
- Naming screen: a tab turns straight to its page (#287)
- ci: upgrade GitHub Actions to latest tested releases (#292)
- Generate map event IDs for standalone voxel host tests (#277)
- Tests: update the voxel draft chunk fixture (#262)
- Harden native string formatting and numeric input parsing (#279)
- Build releases with Python 3.15.2 (#288)
- Visible wild: roll the IVs right after the personality (PID/IV legality) (#266)
- CI: use the release toolchain for 3DS builds (#286)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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