From 6619ec80d2e8a26881a36534698b2dbe2160634f Mon Sep 17 00:00:00 2001 From: Sina <37_privacy.blends@icloud.com> Date: Wed, 25 Nov 2026 20:57:22 +0330 Subject: [PATCH] CI: test each Python in its official image (3.9 is gone from GitHub's Ubuntu runners) Co-Authored-By: Claude Opus 5.5 --- .github/workflows/test.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 840eba8..82274c0 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -12,15 +12,15 @@ permissions: jobs: test: runs-on: ubuntu-latest + # Each Python in its official image: GitHub's Ubuntu runners no longer carry 3.9, which the + # library still supports (RHEL 9 and Debian 11 ship it as their system Python). + container: python:${{ matrix.python-version }}-slim strategy: fail-fast: false matrix: python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 - with: - python-version: ${{ matrix.python-version }} - run: python -m pip install --upgrade pip - run: pip install -e '.[dev]' - run: pytest