Staging
v0.5.1
https://github.com/python/cpython
Revision b46beb25e4cf213dbf46a0a0cf3f0ed134894f7d authored by Miss Islington (bot) on 15 June 2020, 17:44:34 UTC, committed by GitHub on 15 June 2020, 17:44:34 UTC

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.
(cherry picked from commit 4a3a682b12f93a03888e8b59f439bc5fe30d6055)

Co-authored-by: Krzysztof Konopko <kkonopko@users.noreply.github.com>
1 parent aa83935
History
Tip revision: b46beb25e4cf213dbf46a0a0cf3f0ed134894f7d authored by Miss Islington (bot) on 15 June 2020, 17:44:34 UTC
bpo-40448: ensurepip: Do not use cache (GH-19812)
Tip revision: b46beb2
File Mode Size
.azure-pipelines
.github
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Programs
Python
Tools
m4
.gitattributes -rw-r--r-- 1.6 KB
.gitignore -rw-r--r-- 1.5 KB
.travis.yml -rw-r--r-- 6.1 KB
CODE_OF_CONDUCT.rst -rw-r--r-- 631 bytes
LICENSE -rw-r--r-- 12.5 KB
Makefile.pre.in -rw-r--r-- 62.9 KB
README.rst -rw-r--r-- 9.6 KB
aclocal.m4 -rw-r--r-- 10.7 KB
config.guess -rwxr-xr-x 43.1 KB
config.sub -rwxr-xr-x 35.4 KB
configure -rwxr-xr-x 492.1 KB
configure.ac -rw-r--r-- 164.8 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 42.3 KB
setup.py -rw-r--r-- 101.3 KB

README.rst

back to top