-
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 self update --preview installs to system python #4728
Comments
I think we're seeing the same problem with updating from 1.1.11 to 1.1.12. It's trying to update system python and blowing up for a lack of permissions.
Maybe I'm misunderstanding how it works but I would expect it to only make changes in |
I'm seeing this as well—somehow, I've ended up with a |
Hello, this is fixed since poetry 1.1.13 by #5048. fin swimmer |
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
When updating poetry, it installs to the currently active python rather than poetry's "self contained" venv, leaving the isolated poetry at the prior version.
Steps to reproduce:
python -m pip list
-> shows no poetry packagecurl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py | python -
-> installs 1.11.1python -m pip list
-> unchangedpoetry self upgrade --preview
-> upgradespython -m pip list
-> includes all deps for poetry 1.20.0a2Full shell transcript here
Expected behavior:
Poetry updates itself inside its virtualenv, and does not install anything in the local/current python env
The text was updated successfully, but these errors were encountered: