2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-07-15 12:22:26 +00:00
repo/extra/python/patches/python3-always-pip.patch

14 lines
628 B
Diff
Raw Normal View History

diff --git a/Lib/ensurepip/__init__.py b/Lib/ensurepip/__init__.py
2020-07-14 05:53:50 +00:00
index f3152a5..52f6312 100644
--- a/Lib/ensurepip/__init__.py
+++ b/Lib/ensurepip/__init__.py
2020-07-14 05:53:50 +00:00
@@ -116,7 +116,7 @@ def _bootstrap(*, root=None, upgrade=False, user=False,
additional_paths.append(os.path.join(tmpdir, wheel_name))
# Construct the arguments to be passed to the pip command
2020-07-14 05:53:50 +00: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: