Skip to content

ci: run the Python 3.9 test workflows on ubuntu-24.04 - #1553

Merged
ErikBjare merged 1 commit into
ActivityWatch:masterfrom
zachsplat:ci-python39-ubuntu-24.04
Nov 4, 2026
Merged

ErikBjare merged 1 commit into
ActivityWatch:masterfrom
zachsplat:ci-python39-ubuntu-24.04

Conversation

@zachsplat

Copy link
Copy Markdown
Contributor

ubuntu-latest is moving to Ubuntu 26.04 (GitHub's runner-images announcement, issue 14748, planned to finish by 19 November), and actions/setup-python has no Python 3.9 build for 26.04. CI here is already landing on it. On the Dependabot PRs from 1 November, Query parity run 41310032696 (#1548), Query parity run 41310028222 and Packaging arch tests run 41310028201 (#1547) all ran on image ubuntu-26.04 and stopped at the setup-python step with

The version '3.9' with architecture 'x64' was not found for Ubuntu 26.04.

The same two workflows passed on master on 26 October on ubuntu-24.04, where setup-python installed 3.9.25.

This pins the four jobs that set up Python 3.9 on ubuntu-latest to ubuntu-24.04, one runs-on line each:

  • query-parity.yml
  • packaging-arch-tests.yml
  • changelog-tests.yml
  • research-feed-publisher-tests.yml

The last two have not run since the switch because of their path filters, but they set up 3.9 the same way and would fail the same way once their jobs land on 26.04. The Linux 3.9 jobs in release.yml already pin ubuntu-22.04 or ubuntu-24.04, so I left that file alone.

What I ran: actionlint 1.7.12 on the four files before and after (no findings on either), and a small script that reads each job's runs-on and setup-python request and looks the version up in setup-python's versions-manifest.json. Before the change, all four ask for 3.9 on ubuntu-latest, which resolves to 26.04 once the rollout ends, and the manifest has no 3.9 build for 26.04. After it, all four resolve to 24.04, where 3.9 maps to 3.9.25. I have not run the workflows themselves. Each of the four has its own file in its path filter, so all four should run on this PR, and those checks are the real test.

I kept 3.9 because pyproject.toml still says python = "^3.9" and the release builds use 3.9. Would you rather move these jobs to a newer Python on ubuntu-latest instead?

actions/setup-python has no Python 3.9 build for Ubuntu 26.04, which
ubuntu-latest is moving to, so the query parity, packaging arch,
changelog and research feed publisher jobs fail at their setup step
there. Pin those four jobs to ubuntu-24.04, like the release builds
that already pin their Ubuntu version.
@greptile-apps

greptile-apps Bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] This PR appears safe to merge.

Summary

Pins four Python 3.9 test jobs to ubuntu-24.04 instead of ubuntu-latest.

  • Four Python 3.9 test jobs now run on Ubuntu 24.04.

Reviews (1) · Last reviewed commit: "ci: run the Python 3.9 test workflows on..." · Reviewed by Greptile

@ErikBjare
ErikBjare merged commit 099a484 into ActivityWatch:master Nov 4, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants