diff options
author | Donald Stufft <donald@stufft.io> | 2015-06-02 14:37:08 (GMT) |
---|---|---|
committer | Donald Stufft <donald@stufft.io> | 2015-06-02 14:37:08 (GMT) |
commit | 71a8589ddc11842680826f94da43b2e13a1c7d89 (patch) | |
tree | 444ddc16f914eba43cc6cf7dea8d4ab4a8260d65 /Lib/ensurepip | |
parent | 11cf4f64986e1d9842d4b131fd6c477f51e3b27b (diff) | |
download | cpython-71a8589ddc11842680826f94da43b2e13a1c7d89.zip cpython-71a8589ddc11842680826f94da43b2e13a1c7d89.tar.gz cpython-71a8589ddc11842680826f94da43b2e13a1c7d89.tar.bz2 |
Closes #24267 - Does not check version on ensurepip uninstall
Ensure that the uninstall helper for Windows passes the proper
flags to pip to prevent it from checking PyPI if the pip that
we're currently attempting to uninstall is the latest verison.
Diffstat (limited to 'Lib/ensurepip')
-rw-r--r-- | Lib/ensurepip/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/ensurepip/__init__.py b/Lib/ensurepip/__init__.py index 592ffde..e5db9f9 100644 --- a/Lib/ensurepip/__init__.py +++ b/Lib/ensurepip/__init__.py @@ -137,7 +137,7 @@ def _uninstall_helper(*, verbosity=0): _disable_pip_configuration_settings() # Construct the arguments to be passed to the pip command - args = ["uninstall", "-y"] + args = ["uninstall", "-y", "--disable-pip-version-check"] if verbosity: args += ["-" + "v" * verbosity] |