-
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
pip installer breaks environment on vcs namespace package removal #2238
Labels
kind/bug
Something isn't working as expected
Comments
abn
added a commit
to abn/poetry
that referenced
this issue
Mar 28, 2020
abn
added a commit
to abn/poetry
that referenced
this issue
Mar 28, 2020
2 tasks
abn
added a commit
to abn/poetry
that referenced
this issue
Apr 10, 2020
abn
added a commit
to abn/poetry
that referenced
this issue
Apr 10, 2020
abn
added a commit
that referenced
this issue
Apr 12, 2020
abn
added a commit
that referenced
this issue
Apr 12, 2020
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. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
1.1.0a1
, this should also affect the latest Poetry version.-vvv
option).Issue
As things stand today, if a vcs dependency is being removed, poetry first deletes the source directory in
$VENV_DR/src/<pkg.name>
and then proceeds to trypip uninstall <pkg.name> -y
.This will silently fail as the path being used in the installed namespace package is no longe present. Any following poetry commands will result in the following error caused when attempting to identify
env.sys_path
.Additionally there is also a secondary issue that will be exposed when this is fixed. This is due to pypa/pip#4176. This causes the
*-nspkg.pth
file to be retained even after the unininstall command succeeds, which leads to the above error again.The text was updated successfully, but these errors were encountered: