-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
--no-clean
doesn't work when installing from local paths or dists
#2779
Comments
this was seen in v 6.08 and v 6.1.1 in the unreleased 7.0, installing from local dists works (the 2nd case mentioned in the description), but still not the first case. a caveat here though is that |
Same with 7.1.2 |
The way to fix it is to move directory management into centralized temporary stack manager that will keep track on who and where created temp directories. It may also provide transaction support - so that only the context that created temp dir can clean it. |
I'm having problems using --no-clean at all, not just when installing from local paths. For example
The final output is:
And nothing is left in
|
Are there any plans to fix this? The only related activity so far is closing another issue (#4679) as a duplicate of this one. I see the same problem with pip 9.0.1, python 3.6. |
As mentioned in #6982, we may be able to consolidate the logic for handling our temporary directories then the fix for this will be in one place. |
With the latest pip version, I have used To me, it seems that the second time the package is installed, For local paths, again I had a git repo cloned, specifically this, and I run the command |
--no-clean
doesn't work when installing from local projects or local distse.g. the following don't work
for an example, see #2689 (comment)
(this is a tox example, where tox installs from a local zip file)
The text was updated successfully, but these errors were encountered: