Skip to content

🐛 fix(discovery): reject unrelated Python - #239

Merged
gaborbernat merged 1 commit into
mainfrom
bug/reject-unknown-interpreter
Nov 3, 2026
Merged

gaborbernat merged 1 commit into
mainfrom
bug/reject-unknown-interpreter

Conversation

@gaborbernat

Copy link
Copy Markdown
Member

An unavailable implementation such as missing can resolve to CPython on PATH. Callers then receive an interpreter where they expected no match, as seen in tox #4375. Fixes #238.

Discovery checks the reported implementation for generic Python filenames when the request names another implementation. Literal executable name aliases keep their existing behavior.

@gaborbernat gaborbernat added the bug Something isn't working label Nov 3, 2026
@gaborbernat
gaborbernat merged commit 674ca4e into main Nov 3, 2026
21 checks passed
@gaborbernat
gaborbernat deleted the bug/reject-unknown-interpreter branch November 3, 2026 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unknown implementation spec selects CPython

1 participant