-
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
The following sequence leaves folders behind in site-packages (master
)
#3964
Comments
This is likely related to #3900. |
This can be reproduced by just doing this: poetry add /path/to/mypkg
poetry remove mypkg I don't know if you want to do it like this, but at least this patch actually fixes the issue: #3967 But something tells me importlib is supposed to scan for this file, and add it to RECORD if it detects it? |
Resolves: #3964 Co-authored-by: Sébastien Eustace <sebastien.eustace@gmail.com> Co-authored-by: Arun Babu Neelicattu <arun.neelicattu@gmail.com>
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. |
On my machine, the following sequence leaves folders behind in site-packages:
Install
b
from path:Then I wanted to see what happens if I try to add it again but with the
--editable
arg:$ poetry@3940 add --editable ../b/ Updating dependencies Resolving dependencies... (0.1s) Writing lock file Package operations: 0 installs, 1 update, 0 removals • Updating b (2.1.3.dev0+g77bcc5e.d20210417114942 /home/fredrik/code/repos/b -> 0.0.0 /home/fredrik/code/repos/b)
Finally uninstalling
b
:But unfortunately,
b
was not completely removed, likely due to the fact that I was able to runpoetry add
twice:And now it seems the .venv is b0rked, as there is suddenly a
None
package:Originally posted by @fredrikaverpil in #3940 (comment)
The text was updated successfully, but these errors were encountered: