Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
--cache-dir does not support relative paths to non-existent directory #7541
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
When the cache directory does not exist, it should be created without warning.
How to Reproduce
With pip master, notice the cache directory is not created.
With pip master, notice the cache directory is created correctly.