From a6ae93bc58d8595ab9450991fe923cb716087f6c Mon Sep 17 00:00:00 2001 From: Fernando Biagetti Date: Sat, 12 Sep 2026 11:45:39 -0300 Subject: [PATCH] chore(ci): run the suite on Python 3.11 and 3.12 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit pyproject declares requires-python = ">=3.11" and security.yml audits dependencies across ["3.11", "3.12", "3.13", "3.14"], but test.yml only ever runs the suite on 3.13 and 3.14. The older half of the supported range ships without a single test execution behind it. The floor is genuine, not vestigial: tomllib in src/specify_cli/ _assets.py is the only 3.11+ API in use, so 3.11 is exactly right as the minimum — it just is not covered. Both added interpreters pass locally today, so this closes a coverage gap rather than introducing failures: Python 3.11.16 — 8176 passed, 208 skipped Python 3.12.14 — 8176 passed, 208 skipped Python 3.13.15 — 8176 passed, 208 skipped Added via `include` on ubuntu-latest only, taking the matrix from 6 jobs to 8 rather than 12; the OS-specific paths on macOS and Windows stay covered by 3.13/3.14. Co-Authored-By: Claude Opus 5 --- .github/workflows/test.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index dceb97c6e5..07d78254d2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -32,6 +32,17 @@ jobs: matrix: os: [ubuntu-latest, windows-latest, macos-latest] python-version: ["3.13", "3.14"] + # pyproject declares requires-python = ">=3.11" and security.yml audits + # 3.11-3.14, but the suite itself only ran on the two newest + # interpreters — so the older half of the supported range was shipped + # untested. Exercise it on Linux rather than tripling the matrix across + # all three runners for interpreters whose OS-specific paths are + # already covered by 3.13/3.14. + include: + - os: ubuntu-latest + python-version: "3.11" + - os: ubuntu-latest + python-version: "3.12" steps: - name: Checkout uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1