From 2bf77378c07ebad458c5ce49bc514fedece079d6 Mon Sep 17 00:00:00 2001 From: jconstance Date: Thu, 16 Jul 2026 10:54:50 -0400 Subject: [PATCH] ci: install tox-gh-actions so each matrix job runs only its own env tox.ini's [gh-actions] block has always mapped each Python version to its own -unit env, but the plugin that activates it was never installed, so plain `tox` tried every env in envlist regardless of which interpreter the job set up. That was silently masked as long as tox treated a missing interpreter as a SKIP; the workflow's unpinned `tox>=4.0.9,<5` install recently resolved 4.56.4 (up from 4.53.0), which flips a missing interpreter to a hard FAIL, breaking every job except the one or two Python versions actually present on the runner. Verified locally: with tox 4.56.4 and tox-gh-actions installed, running tox under Python 3.11 and 3.13 (simulating the corresponding CI matrix jobs) each scope to just their own env and pass; without the plugin, the same setup fails on every env for a missing interpreter. --- .github/workflows/pr_check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr_check.yml b/.github/workflows/pr_check.yml index 66e44ddb..71a4436d 100644 --- a/.github/workflows/pr_check.yml +++ b/.github/workflows/pr_check.yml @@ -21,7 +21,7 @@ jobs: with: python-version: ${{ matrix.python-version }} - name: Install dependencies - run: python -m pip install --upgrade "tox>=4.0.9,<5" build + run: python -m pip install --upgrade "tox>=4.0.9,<5" tox-gh-actions build - name: Build to generate the version file run: python3 -m build - name: Test with Tox