You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
venvlauncher: try looking for the versioned .exe first and then fall back
By default venvlauncher only looks for python.exe in the python "home",
which fails in the MSYS2 case where there could be multiple python versions
in the same prefix i.e. python.exe could be 3.12 while the venv was created
with python3.13.exe.
Upstream CPython doesn't have this problem since they never have multiple
Python versions in the same prefix.
On the other hand the Python test suite (test_sysconfig specifically) creates
a venv for the uninstalled Python build dir, where only python.exe exists.
To cover both cases we first try to look for the python3.XY.exe and then
fall back to python.exe.
0 commit comments