[3.14] gh-152785: Upgrade Ubuntu from 24.04 to 26.04 in GitHub Actions (#152717) (#153416)#153526
Conversation
…Actions (python#152717) (python#153416) pythongh-152785: Upgrade Ubuntu from 24.04 to 26.04 in GitHub Actions (python#152717) * Replace "ubuntu-24.04" with "ubuntu-26.04". * Replace "ubuntu-latest" with "ubuntu-26.04" for Cross build Linux. * Replace "ubuntu-latest" with "ubuntu-slim" for small workloads. * Update ".github/actionlint.yaml" to allow "ubuntu-26.04" and "ubuntu-26.04-arm" images. * Install Ubuntu libmpdec-dev package, rather than installing libmpdec from source (tarball). Backport changes: * Keep https://apt.llvm.org/llvm.sh to install LLVM 19 and LLVM 20. * WASI uses ubuntu-26.04, not ubuntu-26.04-arm. (cherry picked from commit 4c79929) Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> (cherry picked from commit da999e6)
|
I kept Note: WASI uses |
|
Oh, multiple jobs failed when running |
|
Right now, https://apt.llvm.org/resolute/dists/ as an "Index of" listing:
|
|
https://apt.llvm.org/noble/dists/ is an "Index of" page listing: So https://apt.llvm.org/ supports more LLVM versions on Ubuntu 24.04 (Noble) (LLVM 17 to 22) than on Ubuntu 26.04 (Resolute) (LLVM 21 and 22). The problem is that in Python 3.14, the JIT uses LLVM 19 ( I see different options:
|
Restore llvm.sh in JIT jobs.
|
I mark the PR as a draft until the CI jobs pass. |
|
@hugovk @corona10: In
That's what I did: jobs using LLVM 19 and LLVM 20 continue using Ubuntu 24.04. |
|
CI jobs pass, the PR is now ready for review :-) |
|
Ah, and see #152211 for CIFuzz failures on the 3.14 branch. |
|
Merged. Thanks for the review. If someone see how to use Ubuntu 26.04 on Ubuntu jobs, but keep Ubuntu 24.04 for BOLT jobs, go ahead and submit a PR! |
gh-152785: Upgrade Ubuntu from 24.04 to 26.04 in GitHub Actions (#152717)
Backport changes:
(cherry picked from commit 4c79929)
(cherry picked from commit da999e6)