-
-
Notifications
You must be signed in to change notification settings - Fork 32.6k
Closed
Labels
stdlibPython modules in the Lib dirPython modules in the Lib dirtopic-venvRelated to the venv moduleRelated to the venv moduletype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
Bug description:
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...
.
This is a regression in Python 3.13.0
CPython versions tested on:
3.13
Operating systems tested on:
Windows
Linked PRs
y5c4l3
Metadata
Metadata
Assignees
Labels
stdlibPython modules in the Lib dirPython modules in the Lib dirtopic-venvRelated to the venv moduleRelated to the venv moduletype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error