GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [3.11] gh-128504: Pin the doctest workflow to Ubuntu 24.04 by hugovk · Pull Request #161664 · python/cpython

Conversation

@hugovk

@hugovk hugovk commented Nov 9, 2026 •
edited by bedevere-app Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

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
  • https://github.com/python/cpython/actions/runs/42555143736/job/129087544426?pr=161030
  • [3.11] gh-160506: Fix ntpath.realpath() for broken links via directory links (GH-160507) #161030
  • [3.11] gh-161192: Update bundled Expat to 2.10.0 (GH-161202) #161266
  • [3.11] gh-161323: Refuse drive-relative paths in tarfile extraction filters (GH-161334) #161359
  • [3.11] gh-161569: Check cookie policy before deleting expired cookies in http.cookiejar (GH-161570) #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: Upgrade doctest CI to Ubuntu-24.04 #128504

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@hugovk
Pin the doctest workflow to Ubuntu 24.04
b53c635
@hugovk
hugovk requested a review from ezio-melotti as a code owner November 9, 2026 10:00
@bedevere-app bedevere-app Bot added the awaiting core review label Nov 9, 2026
@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
@bedevere-app bedevere-app Bot mentioned this pull request Nov 9, 2026
Upgrade doctest CI to Ubuntu-24.04 #128504
Closed
@hugovk hugovk added skip news infra CI, GitHub Actions, buildbots, Dependabot, etc. labels Nov 9, 2026
StanFromIreland
StanFromIreland approved these changes Nov 9, 2026
View reviewed changes
@bedevere-app bedevere-app Bot added awaiting merge and removed awaiting core review labels Nov 9, 2026
@hugovk
hugovk merged commit e34c7bb into python:3.11 Nov 9, 2026
31 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@hugovk
hugovk deleted the 3.11-docs-pin-ubuntu branch November 9, 2026 16:41
@bedevere-app bedevere-app Bot removed the awaiting merge label Nov 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@StanFromIreland StanFromIreland StanFromIreland approved these changes
@ezio-melotti ezio-melotti Awaiting requested review from ezio-melotti ezio-melotti is a code owner

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

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

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@hugovk @StanFromIreland
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.
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.