-
Notifications
You must be signed in to change notification settings - Fork 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 version check file doesn't honor cache-dir #3905
Comments
I'm at PyCon sprints, researching this before making changes. I was able to recreate this issue using the latest pip (10.0.1) Looking in the code, I found that in For users not in virtual environmnets I am not certain if we would want to change this for both scenarios or just for users not in virtual environments. From looking at the code, it looks like the change would be as follows:
|
Hey @tomfbiz! Are you on IRC? |
Quick look suggests we can kill the virtual env file completely, and just use the per user cache file for all environments, and then plumb the cache-dir file through appropriately. Does that answer your question? |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
My pip config looks like:
Whenever I try to install any package, it caches the wheels in the
cache-dir
as specified above. However, the pip-version check is performed and the fileselfcheck.json
and it's lock file is placed in the directory:$HOME/.cache/pip/
, which should have been inside thecache-dir
as specified above.I get around this problem by specifying the following in the pip config (but it's not a very good solution):
The text was updated successfully, but these errors were encountered: