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?
to your account
When running pip install --cache-dir=cache one expects pip to use $PWD/cache as cache directory. It works when the directory exists but not when it does not exist yet.
pip install --cache-dir=cache
With pip 19.3, we get a warning about the cache directory not being writable, but the cache directory is created anyway.
With pip master, we get the warning and the cache is not created (following the fix for #7488). Providing an absolute directory for --cache-dir works correctly.
When the cache directory does not exist, it should be created without warning.
How to Reproduce
pip install --cache-dir=cache flit.
pip install --cache-dir=cache flit
With pip master, notice the cache directory is not created.
pip install --cache-dir=$PWD/cache flit.
pip install --cache-dir=$PWD/cache flit
With pip master, notice the cache directory is created correctly.
The text was updated successfully, but these errors were encountered:
Eagerly normalize the cache directory
Successfully merging a pull request may close this issue.