Title: [3.11] gh-128504: Pin the doctest workflow to Ubuntu 24.04 by hugovk · Pull Request #161664 · python/cpython · GitHub
Open Graph Title: [3.11] gh-128504: Pin the doctest workflow to Ubuntu 24.04 by hugovk · Pull Request #161664 · python/cpython
X Title: [3.11] gh-128504: Pin the doctest workflow to Ubuntu 24.04 by hugovk · Pull Request #161664 · python/cpython
Description: Doctest builds on 3.11 have started failing: 6s Run sudo ./.github/workflows/posix-deps-apt.sh && sudo apt-get install wamerican Get:1 file:/etc/apt/apt-mirrors.txt Mirrorlist [144 B] Get:6 https://packages.microsoft.com/ubuntu/26.04/prod resolute InRelease [3964 B] Hit:2 http://azure.archive.ubuntu.com/ubuntu resolute InRelease Get:3 http://azure.archive.ubuntu.com/ubuntu resolute-updates InRelease [137 kB] Get:4 http://azure.archive.ubuntu.com/ubuntu resolute-backports InRelease [137 kB] Get:5 http://azure.archive.ubuntu.com/ubuntu resolute-security InRelease [137 kB] Get:7 https://packages.microsoft.com/ubuntu/26.04/prod resolute/main amd64 Packages [149 kB] Get:8 https://packages.microsoft.com/ubuntu/26.04/prod resolute/main arm64 Packages [136 kB] Get:9 http://azure.archive.ubuntu.com/ubuntu resolute-updates/main amd64v3 Packages [845 kB] Get:10 http://azure.archive.ubuntu.com/ubuntu resolute-updates/main Translation-en [192 kB] Get:11 http://azure.archive.ubuntu.com/ubuntu resolute-updates/universe amd64v3 Packages [377 kB] Get:12 http://azure.archive.ubuntu.com/ubuntu resolute-updates/universe Translation-en [118 kB] Get:13 http://azure.archive.ubuntu.com/ubuntu resolute-updates/restricted amd64v3 Packages [573 kB] Get:14 http://azure.archive.ubuntu.com/ubuntu resolute-updates/restricted Translation-en [119 kB] Get:15 http://azure.archive.ubuntu.com/ubuntu resolute-security/main amd64v3 Packages [657 kB] Get:16 http://azure.archive.ubuntu.com/ubuntu resolute-security/main Translation-en [148 kB] Get:17 http://azure.archive.ubuntu.com/ubuntu resolute-security/universe amd64v3 Packages [208 kB] Get:18 http://azure.archive.ubuntu.com/ubuntu resolute-security/universe Translation-en [68.9 kB] Get:19 http://azure.archive.ubuntu.com/ubuntu resolute-security/restricted amd64v3 Packages [529 kB] Get:20 http://azure.archive.ubuntu.com/ubuntu resolute-security/restricted Translation-en [108 kB] Fetched 4645 kB in 0s (10.6 MB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... E: Unable to locate package lzma-dev https://github.com/python/cpython/actions/runs/42555143736/job/129087544426?pr=161030 #161030 #161266 #161359 #161583 This is because ubuntu-latest is used, and that now points to 26.04, which no longer has the lzma-dev package. 3.12+ was already pinned to ubuntu-22.04 (#125236) and upgraded to ubuntu-24.04 (#128504). (3.14+ have also been upgraded to ubuntu-26.04 (#152717).) So the easiest thing to do here is pin to ubuntu-24.04, like 3.12 and 3.13. This PR also includes some other minor changes, to make it more similar to the 3.12 file, and easier to compare/maintain in the future. Issue: gh-128504
Open Graph Description: Doctest builds on 3.11 have started failing: 6s Run sudo ./.github/workflows/posix-deps-apt.sh && sudo apt-get install wamerican Get:1 file:/etc/apt/apt-mirrors.txt Mirrorlist [144 B] Get:6...
X Description: Doctest builds on 3.11 have started failing: 6s Run sudo ./.github/workflows/posix-deps-apt.sh && sudo apt-get install wamerican Get:1 file:/etc/apt/apt-mirrors.txt Mirrorlist [144 ...
Opengraph URL: https://github.com/python/cpython/pull/161664
X: @github
Domain: github.com
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:b6372f07-cff0-fd20-8d9f-f252484080c4 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9468:39FDE1:76C7A9:94FB39:6B020F02 |
| html-safe-nonce | eafc58508707a6a32b2e12b5535beea8dbcdab0bd39817c2b104ff227716df6a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NDY4OjM5RkRFMTo3NkM3QTk6OTRGQjM5OjZCMDIwRjAyIiwidmlzaXRvcl9pZCI6IjY0MjY4NzMyODczNjkwNzAxMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 45840d76c5982cdb87003190ccf653761d629543117168bb3d9db7277d5d9cb1 |
| hovercard-subject-tag | pull_request:5222051710 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/161664/files |
| twitter:image | https://avatars.githubusercontent.com/u/1324225?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1324225?s=400&v=4 |
| og:image:alt | Doctest builds on 3.11 have started failing: 6s Run sudo ./.github/workflows/posix-deps-apt.sh && sudo apt-get install wamerican Get:1 file:/etc/apt/apt-mirrors.txt Mirrorlist [144 B] Get:6... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width