Skip to content

[3.11] gh-128504: Pin the doctest workflow to Ubuntu 24.04 - #161664

Open
hugovk wants to merge 1 commit into
python:3.11from
hugovk:3.11-docs-pin-ubuntu
Open

hugovk wants to merge 1 commit into
python:3.11from
hugovk:3.11-docs-pin-ubuntu

Conversation

@hugovk

@hugovk hugovk commented Nov 9, 2026 •

Copy link
Copy Markdown
Member

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

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.

@hugovk
hugovk requested a review from ezio-melotti as a code owner November 9, 2026 10:00
@hugovk hugovk changed the title [3.11] Pin the doctest workflow to Ubuntu 24.04 [3.11] gh-128504: Pin the doctest workflow to Ubuntu 24.04 Nov 9, 2026
@bedevere-app bedevere-app Bot added the type-feature A feature request or enhancement label Nov 9, 2026
@hugovk hugovk added skip news infra CI, GitHub Actions, buildbots, Dependabot, etc. labels Nov 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting core review infra CI, GitHub Actions, buildbots, Dependabot, etc. skip news type-feature A feature request or enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant