summaryrefslogtreecommitdiff
path: root/debian/patches/ensurepip-wheels.diff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2019-12-01 20:18:01 +0300
committerIgor Pashev <pashev.igor@gmail.com>2019-12-01 20:18:01 +0300
commit77d81aa4a3747b7dfbb17e43b16e1a514550c60c (patch)
tree0679778b3a5b46cb96d7c57485c847b83cc78bbf /debian/patches/ensurepip-wheels.diff
parentc089c4500b0b78acf03ee5405ad250a84b0dfa66 (diff)
downloadpython3.8-debian.tar.gz
Import python3.8 (3.8.0-5)debian/3.8.0-5debian
Diffstat (limited to 'debian/patches/ensurepip-wheels.diff')
-rw-r--r--debian/patches/ensurepip-wheels.diff8
1 files changed, 4 insertions, 4 deletions
diff --git a/debian/patches/ensurepip-wheels.diff b/debian/patches/ensurepip-wheels.diff
index 558cf9d..fe4757d 100644
--- a/debian/patches/ensurepip-wheels.diff
+++ b/debian/patches/ensurepip-wheels.diff
@@ -48,7 +48,7 @@
def _disable_pip_configuration_settings():
# We deliberately ignore all pip environment variables
-@@ -88,20 +93,44 @@ def _bootstrap(*, root=None, upgrade=Fal
+@@ -90,20 +95,44 @@ def _bootstrap(*, root=None, upgrade=Fal
# omit pip and easy_install
os.environ["ENSUREPIP_OPTIONS"] = "install"
@@ -103,7 +103,7 @@
# Construct the arguments to be passed to the pip command
args = ["install", "--no-index", "--find-links", tmpdir]
-@@ -114,7 +143,7 @@ def _bootstrap(*, root=None, upgrade=Fal
+@@ -116,7 +145,7 @@ def _bootstrap(*, root=None, upgrade=Fal
if verbosity:
args += ["-" + "v" * verbosity]
@@ -112,7 +112,7 @@
def _uninstall_helper(*, verbosity=0):
"""Helper to support a clean default uninstall process on Windows
-@@ -128,7 +157,8 @@ def _uninstall_helper(*, verbosity=0):
+@@ -130,7 +159,8 @@ def _uninstall_helper(*, verbosity=0):
return
# If the pip version doesn't match the bundled one, leave it alone
@@ -122,7 +122,7 @@
msg = ("ensurepip will only uninstall a matching version "
"({!r} installed, {!r} bundled)")
print(msg.format(pip.__version__, _PIP_VERSION), file=sys.stderr)
-@@ -141,7 +171,7 @@ def _uninstall_helper(*, verbosity=0):
+@@ -143,7 +173,7 @@ def _uninstall_helper(*, verbosity=0):
if verbosity:
args += ["-" + "v" * verbosity]