From 881308ed1eb715124361248b7d01fc7d20150369 Mon Sep 17 00:00:00 2001 From: Sean Tang <171081544+seant-aws@users.noreply.github.com> Date: Thu, 5 Nov 2026 23:29:41 +0000 Subject: [PATCH 1/2] ci: drop Python 3.9 from the CI test matrices ubuntu-latest is now Ubuntu 26.04, which has no Python 3.9 build for actions/setup-python. The 3.9 job fails and fail-fast cancels the rest of the matrix, so every PR shows red. Drop 3.9 from code_quality.yml and from the macOS cross-user matrix that mirrors it, and remove the virtualenv<21 pin that applied only below 3.10. requires-python is unchanged. Signed-off-by: Sean Tang <171081544+seant-aws@users.noreply.github.com> --- .github/workflows/code_quality.yml | 2 +- .github/workflows/macos_cross_user_test.yml | 14 +++++--------- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/.github/workflows/code_quality.yml b/.github/workflows/code_quality.yml index 916e7435..2018f8cb 100644 --- a/.github/workflows/code_quality.yml +++ b/.github/workflows/code_quality.yml @@ -18,7 +18,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest] - python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14'] + python-version: ['3.10', '3.11', '3.12', '3.13', '3.14'] uses: OpenJobDescription/.github/.github/workflows/reusable_python_build.yml@mainline with: os: ${{ matrix.os }} diff --git a/.github/workflows/macos_cross_user_test.yml b/.github/workflows/macos_cross_user_test.yml index 0c5e8097..6204a832 100644 --- a/.github/workflows/macos_cross_user_test.yml +++ b/.github/workflows/macos_cross_user_test.yml @@ -33,10 +33,10 @@ jobs: strategy: fail-fast: false matrix: - # Matches code_quality.yml: requires-python is >=3.9, and the boundary - # versions are where an interpreter-specific difference in the setsid shim - # or in sys._base_executable resolution would surface. - python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14'] + # Matches code_quality.yml. The boundary versions are where an + # interpreter-specific difference in the setsid shim or in + # sys._base_executable resolution would surface. + python-version: ['3.10', '3.11', '3.12', '3.13', '3.14'] steps: - uses: actions/checkout@v7 @@ -45,11 +45,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install hatch - # virtualenv 21 removed virtualenv.discovery.builtin.propose_interpreters, which - # the hatch version resolvable on 3.9 still calls, so `hatch env create` fails with - # "Environment `default` is incompatible". Pin it for 3.9 only and leave 3.10+ on - # current virtualenv. Same constraint the other workflows in this repo use. - run: pip install --upgrade hatch 'virtualenv<21; python_version < "3.10"' + run: pip install --upgrade hatch - name: Provision, run cross-user tests, and tear down # --keep skips the teardown: the runner is throwaway, so leaving the From e6d6e484ef3e25f58177c42c81c6ebac6d156b30 Mon Sep 17 00:00:00 2001 From: Sean Tang <171081544+seant-aws@users.noreply.github.com> Date: Fri, 6 Nov 2026 16:40:50 +0000 Subject: [PATCH 2/2] ci: build releases on Python 3.10 ubuntu-latest no longer provides Python 3.9, so the PublishToPyPI job's setup-python step would fail on the next release. Signed-off-by: Sean Tang <171081544+seant-aws@users.noreply.github.com> --- .github/workflows/release_publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release_publish.yml b/.github/workflows/release_publish.yml index 56b3aa5c..4d5911bb 100644 --- a/.github/workflows/release_publish.yml +++ b/.github/workflows/release_publish.yml @@ -80,7 +80,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v7 with: - python-version: '3.9' + python-version: '3.10' - name: Install dependencies run: | pip install --upgrade hatch "virtualenv<21"