Skip to content

Commit 75f0ba7

Browse files
codexByron
authored andcommitted
ci: use Ubuntu 24.04 for legacy Python checks
The dependency `test (gitdb, 3.9)` and project `install/import (ubuntu-latest, 3.9)` checks fail before installing code. `ubuntu-latest` now selects Ubuntu 26.04, and `actions/setup-python` reports that no Python 3.9 x64 build exists for that image. Run the dependency matrix and the Linux legacy-runtime import checks on Ubuntu 24.04. Preserve the import-check matrix names and the existing macOS/Windows runners. The main modern-Python suite continues to cover the current Ubuntu image. Validated both workflow files as YAML and checked the upstream `actions/python-versions` manifest for available Ubuntu 24.04 x64 builds of Python 3.8, 3.9 and 3.10. This is a CI environment repair discovered while validating the five issue-specific commits, not a runtime code change.
1 parent 387ad8c commit 75f0ba7

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

‎.github/workflows/dependencies.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ permissions:
1111

1212
jobs:
1313
test:
14-
runs-on: ubuntu-latest
14+
# Python 3.8/3.9 builds are unavailable on Ubuntu 26.04.
15+
runs-on: ubuntu-24.04
1516
strategy:
1617
fail-fast: false
1718
matrix:

‎.github/workflows/pythonpackage.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,8 @@ jobs:
245245
246246
import-smoke:
247247
name: install/import (${{ matrix.os }}, ${{ matrix.python }})
248-
runs-on: ${{ matrix.os }}
248+
# Python 3.8/3.9 builds are unavailable on Ubuntu 26.04.
249+
runs-on: ${{ matrix.os == 'ubuntu-latest' && 'ubuntu-24.04' || matrix.os }}
249250
strategy:
250251
fail-fast: false
251252
matrix:

0 commit comments

Comments
 (0)