2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-21 23:00:06 -07:00
repo/extra/python/patches/python3-always-pip.patch
2024-11-25 20:53:24 -06:00

14 lines
612 B
Diff

diff --git a/Lib/ensurepip/__init__.py b/Lib/ensurepip/__init__.py
index c5350df..7886cb2 100644
--- a/Lib/ensurepip/__init__.py
+++ b/Lib/ensurepip/__init__.py
@@ -159,7 +159,7 @@ def _bootstrap(*, root=None, upgrade=False, user=False,
copy2(bundled_wheel_path, tmp_wheel_path)
# Construct the arguments to be passed to the pip command
- 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: