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
pip wheel/install with non-writable cache fails despite warning the cache has been disabled #7488
Coming from #7484
Running pip install and pip wheel with a non-writable cache directory leads to an install error, despite pip warning that the cache is disabled due to a permission or ownership issue.
Installation or build should succeed with a warning that the cache is disabled.
How to Reproduce: pip install
$ mkdir cache $ chmod -r cache $ pip install wrapt --cache-dir=cache
For pip install the wheel cache is created before testing the cache is writable.
For pip wheel, no such cache writability check is done.