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
{{ message }}
Repository navigation
The virtualenv activate script does not correctly detect the Windows Git Bash shell #125398
When using the virtualenv activate script in Git Bash for Windows, the environment is not correctly detected and paths are not converted.
This results in $PATH being set to something like D:\a\github-actions-shells\github-actions-shells\venv/Scripts:..., instead of /d/a/github-actions-shells/github-actions-shells/venv/Scripts.
Prior to #112508, the detection used $OSTYPE, which reports msys in Git Bash for Windows, however uname returns MINGW....
uname -o seems a more semantic and stable candidate for MSYS2 detection, as well as Cygwin. Since it's merged already, I'll leave the outputs here only for reference.
Activity
Support Python 3.13 (#17520)
gh-125398: Convert paths in venv activate script when using Git Bash …
pythongh-125398: Convert paths in venv activate script when using Git…
[3.13] gh-125398: Convert paths in venv activate script when using Gi…
y5c4l3 commentedon Oct 21, 2024
uname -oseems a more semantic and stable candidate for MSYS2 detection, as well as Cygwin. Since it's merged already, I'll leave the outputs here only for reference.pythongh-125398: Convert paths in venv activate script when using Git…