Skip to content

[3.15] gh-152785: Upgrade Ubuntu from 24.04 to 26.04 in GitHub Actions (#152717)#153416

Open
vstinner wants to merge 1 commit into
python:3.15from
vstinner:ubuntu26_04_15
Open

[3.15] gh-152785: Upgrade Ubuntu from 24.04 to 26.04 in GitHub Actions (#152717)#153416
vstinner wants to merge 1 commit into
python:3.15from
vstinner:ubuntu26_04_15

Conversation

@vstinner

@vstinner vstinner commented Jul 9, 2026

Copy link
Copy Markdown
Member
  • 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).
  • No longer run https://apt.llvm.org/llvm.sh, since ubuntu-26.04 provides clang-21 by default.

(cherry picked from commit 4c79929)

…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).
* No longer run https://apt.llvm.org/llvm.sh, since ubuntu-26.04 provides
  clang-21 by default.

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
(cherry picked from commit 4c79929)
@vstinner

vstinner commented Jul 9, 2026

Copy link
Copy Markdown
Member Author

I mark this draft until I see the CI jobs passing on the PR.

@vstinner vstinner marked this pull request as ready for review July 9, 2026 12:31
@vstinner

vstinner commented Jul 9, 2026

Copy link
Copy Markdown
Member Author

@hugovk: So here is a backport for 3.15. If it's merged, it will be backported to 3.14.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant