repo/extra/python/patches/python3-always-pip.patch

14 lines
604 B
Diff
Raw Normal View History

diff --git a/Lib/ensurepip/__init__.py b/Lib/ensurepip/__init__.py
2021-10-04 21:19:40 -06:00
index f28ab11..6627189 100644
--- a/Lib/ensurepip/__init__.py
+++ b/Lib/ensurepip/__init__.py
2021-10-04 21:19:40 -06:00
@@ -180,7 +180,7 @@ def _bootstrap(*, root=None, upgrade=False, user=False,
additional_paths.append(filename)
# Construct the arguments to be passed to the pip command
2020-07-13 23:53:50 -06:00
- args = ["install", "--no-cache-dir", "--no-index", "--find-links", tmpdir]
+ args = ["install", "-I", "--no-cache-dir", "--no-index", "--find-links", tmpdir]
if root:
args += ["--root", root]
if upgrade: