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
When running source .venv/Scripts/activate.fish on windows from a fish shell inside msys2 ucrt64 it breaks the PATH.
Equivalently to gh-103325 activating a venv inside fish (from Cygwin, MSYS or MinGW) on windows will lead to mixing Unix and Windows path styles which then has knockon effects like breaking the PATH when
Bug report
Bug description:
When running
source .venv/Scripts/activate.fishon windows from a fish shell inside msys2 ucrt64 it breaks the PATH.Equivalently to gh-103325 activating a venv inside fish (from Cygwin, MSYS or MinGW) on windows will lead to mixing Unix and Windows path styles which then has knockon effects like breaking the PATH when
cpython/Lib/venv/scripts/common/activate.fish
Line 39 in 5755d0f
To reproduce:
echo $PATHsource .venv/Scripts/activate.fishecho $PATHNotice that the second PATH output contains a new broken/mismatched entry at the start which will in turn break all future uses of PATH.
CPython versions tested on:
CPython main branch
Operating systems tested on:
Windows
Linked PRs