Skip to content

Commit e98df8a

Browse files
Fix CI failure with tox 4.56 by setting skip_missing_interpreters = true (#1033)
## Summary Supersedes #1026 (Renovate update of tox 4.55.1 -> 4.56.1), whose CI is failing. tox 4.56.0 changed the default of `skip_missing_interpreters` back to `false` (tox-dev/tox#3966). The `build` job in `.github/workflows/auto-testing.yml` is a matrix where each runner installs only a single Python version and then runs plain `tox`, so all envs for interpreters not installed on that runner (e.g. `py3.10` on the 3.11 runner) now fail with "could not find python interpreter" instead of being skipped. This PR adds `skip_missing_interpreters = true` to the `[tox]` section of `tox.ini` to restore the previous behavior. --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent f3726ec commit e98df8a

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

requirements-dev.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
-r requirements.txt
22
-r requirements-test.txt
3-
tox==4.55.1 ; python_version >= "3.10"
4-
tox==4.55.1 ; python_version < "3.10"
3+
tox==4.56.1
54
wheel==0.47.0
65
Sphinx==9.0.4 ; python_version >= "3.11"
76
Sphinx==7.4.7 ; python_version < "3.11"

tox.ini

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
[tox]
2+
# tox 4.56.0 changed the default of skip_missing_interpreters back to false
3+
# (https://github.com/tox-dev/tox/pull/3966). CI runners install only one
4+
# Python version per job, so missing interpreters must be skipped, not failed.
5+
skip_missing_interpreters = true
26
envlist =
37
py3.10,
48
py3.11,

0 commit comments

Comments
 (0)