bpo-40448: ensurepip: Do not use cache (GH-19812)
ensurepip optionally installs or upgrades 'pip' and 'setuptools' using the version of those modules bundled with Python. The internal PIP installation routine by default temporarily uses its cache, if it exists. This is undesirable as Python builds and installations may be independent of the user running the build, whilst PIP cache location is dependent on the user's environment and outside of the build environment. At the same time, there's no value in using the cache while installing bundled modules. This change disables PIP caching when used in ensurepip.
K
Krzysztof Konopko committed
4a3a682b12f93a03888e8b59f439bc5fe30d6055
Parent: bf69a8f
Committed by GitHub <noreply@github.com>
on 6/15/2020, 5:28:46 PM