-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
poetry shell in git bash on Windows broken since 1.2.0 #6495
Comments
I think your identification of the point of change is incorrect, but we definitely need to check |
Is there a suggested workaround to this, besides using powershell when running under windows? |
|
The identification point is correct. For windows, we are only considering Powershell or cmd.exe. I'll add a third case to fallback to the previous behavior. The prompt modification won't happen in this situtation. Here is what shellingham reports
|
From previous poetry brokenness, I ended up having a shell alias to do the right thing.
You can also hardcode which bash you want to run if you want to run. Keep in mind that at least in my case, on Windows, poetry changed the virtual env it installs to. So if you were using 1.1.15 and upgraded to 1.2.0 or later, you'll want to check to make sure your IDE points to the right virtualenv for your python interpreter. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
-vvv
option).Issue
Since poetry 1.2.0,
poetry shell
does not work on git bash in Windows.Downgrading to 1.1.5 works:
Looking at the code, I believe 57450f2 broke the git bash support.
The text was updated successfully, but these errors were encountered: