Repository navigation
Fix CI on ubuntu-latest (Ubuntu 26.04): use Python 3.12 and JDK 17 instead of pinning runners - #11799
Merged
Merged
Conversation
…or PySpark The ubuntu-latest runner image is migrating to Ubuntu 26.04, which has no Python 3.8 toolcache build and defaults to JDK 25. - RAT: use Python 3.12 (the script is stdlib only) - Pyarrow C Data Interface: use Python 3.12 (wheels exist for pyarrow 15-17) - PySpark Integration Test: set up Temurin JDK 17; PySpark 3.5 fails on JDK 25 with 'getSubject is not supported' Closes apache#11789 Co-Authored-By: Claude Fable 5.1 <[email protected]>
Jefffrey
approved these changes
Oct 22, 2026
| with: | ||
| python-version: 3.8 | ||
| # check-rat-report.py only uses the standard library; any current | ||
| # Python works. The ubuntu-latest (26.04) image has no Python 3.8. |
Contributor
There was a problem hiding this comment.
probably can remove these notes for brevity
Contributor
Author
There was a problem hiding this comment.
yes sorry this was unreviewed AI PR -- will fix
alamb
enabled auto-merge
October 22, 2026 11:06
Member
|
🙏 |
Contributor
Author
|
WTF the pR is still queued |
Member
|
That's why we need the forks to run CI lol |
Member
|
Though it would still wait the same on merge queue |
Contributor
Author
APPROVED! |
Member
|
🙌 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Which issue does this PR close?
Rationale for this change
The
ubuntu-latestrunner label is migrating from Ubuntu 24.04 to 26.04 between October 19 and November 19, 2026. Three jobs onmainbreak on the new image (see https://github.com/apache/arrow-rs/actions/runs/39673895251):The version '3.8' with architecture 'x64' was not found for Ubuntu 26.04java.lang.UnsupportedOperationException: getSubject is not supportedThe maintenance branches were fixed by pinning those jobs back to
ubuntu-24.04(#11778, #11781). This PR instead updates the jobs so they run on the current image, as suggested in the issue.What changes are included in this PR?
dev.yml): Python3.8→3.12.check-rat-report.pyonly uses the standard library.integration.yml): Python3.8→3.12. 3.12 is the newest version with wheels for every pyarrow in the matrix (15,16,17); pyarrow 15 has no 3.13 wheels, andpyarrow==15resolves to 15.0.2 which pinsnumpy<2, so the install still works.pyo30.29 supports 3.12.parquet.yml): add anactions/setup-javastep for Temurin 17. The 26.04 image ships JDK 11/17/21/25 with 25 as default;Subject.getSubjectis disabled on JDK 24+ (JEP 486) so Hadoop/Spark 3.5 cannot start aSparkContext. Spark 3.5 supports Java 8/11/17, and 17 is already in the runner toolcache so the step is fast.actions/setup-javais pinned by SHA tov6.1.0, matching the convention for other actions in this repo.No RUSTSEC /
cargo auditchanges are needed onmain: therustls-webpki/webpki-rootsupdates from the maintenance branches (#11793, #11794) were originally made onmainin #11752, andmainalready hasquick-xml0.41.0 so it does not need the--ignore RUSTSEC-2026-0194/0195flags the maintenance branches carry.Are these changes tested?
By CI on this PR. Whether the jobs land on a 24.04 or 26.04 runner during the rollout window, all three should pass with these settings.
Are there any user-facing changes?
No