0
0
mirror of https://github.com/python/cpython.git synced 2024-11-21 21:09:37 +01:00
cpython/Lib/ensurepip
Krzysztof Konopko 4a3a682b12
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.
2020-06-15 13:28:46 -04:00
..
_bundled Revert "Upgrade bundled versions of pip & setuptools (#16782)" (GH-20484) 2020-05-28 15:57:49 +02:00
__init__.py bpo-40448: ensurepip: Do not use cache (GH-19812) 2020-06-15 13:28:46 -04:00
__main__.py
_uninstall.py