Skip to content

Fix CI failure with tox 4.56 by setting skip_missing_interpreters = true#1033

Merged
mokuzon merged 3 commits into
masterfrom
users/mokuson/NO-ISSUE/fix-tox-4.56-ci
Jul 13, 2026
Merged

Fix CI failure with tox 4.56 by setting skip_missing_interpreters = true#1033
mokuzon merged 3 commits into
masterfrom
users/mokuson/NO-ISSUE/fix-tox-4.56-ci

Conversation

@mokuzon

@mokuzon mokuzon commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

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.

renovate Bot and others added 2 commits July 10, 2026 20:49
tox 4.56.0 changed the default of skip_missing_interpreters back to
false (tox-dev/tox#3966). The CI build matrix installs only one Python
version per runner and runs plain tox, so environments for missing
interpreters now fail instead of being skipped. Restore the previous
behavior explicitly in tox.ini.
@mokuzon mokuzon self-assigned this Jul 13, 2026
Both python_version branches pinned the same tox version, so the
environment markers no longer serve any purpose.
@mokuzon mokuzon changed the title NO-ISSUE: Fix CI failure with tox 4.56 by setting skip_missing_interpreters = true Fix CI failure with tox 4.56 by setting skip_missing_interpreters = true Jul 13, 2026
@mokuzon mokuzon enabled auto-merge July 13, 2026 05:17
@mokuzon mokuzon requested a review from a team July 13, 2026 05:17
Comment thread tox.ini
@@ -1,4 +1,8 @@
[tox]
# tox 4.56.0 changed the default of skip_missing_interpreters back to false

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

history is not requried as inline comment, so we can remove the first sentence? CI runners... is much enough.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was automatically merged.
I'll delete it the next time I edit this.

@mokuzon mokuzon added this pull request to the merge queue Jul 13, 2026
Merged via the queue into master with commit e98df8a Jul 13, 2026
24 checks passed
@mokuzon mokuzon deleted the users/mokuson/NO-ISSUE/fix-tox-4.56-ci branch July 13, 2026 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants