-
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 does not clean up unfinished downloads when canceling resulting in errors #3496
Comments
Possibly related: |
I can confirm this happens to me on MacOS, python 3.7.0, pip 20.2.2, poetry 1.1.4. It occurs with some packages (ex., pytest), but not others. However, it occurs even if the installation is not canceled. It just happens. I am able to solve the issue by removing all artifacts manually as done by @atigbadr and @alimantu in issue #2388. Should I open a new issue if in my case it happens even when the download is not canceled? |
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
I have been playing around with poetry when i came into an interesting bug, i've initialized a project and started adding packages using
poetry add package
However when i cancel a package mid installation, and the next time i try to upgrade the package with
poetry add package@latest
i get the following error:In order to resolve this i have to clean up all the artificats manually for example
/home/badr/.cache/pypoetry/artifacts/28/f1/1f/0c02253ed24d65eeec11e5e60bda6c8ef6695aca52cffdfaef1d854be3/scipy-1.5.4-cp38-cp38-manylinux1_x86_64.whl
How to reproduce this bug:
It seems to be trouble some, i have experieced the same issue when i lost internet mid package downloads, it would be nice if poetry could clean up these unfinished packages.
The text was updated successfully, but these errors were encountered: