aboutsummaryrefslogtreecommitdiff
path: root/extra/python/patches/python3-always-pip.patch
blob: 5b0fe7d64981b121af85a918ef61930678ed5214 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- python/Lib/ensurepip/__init__.py.orig	Wed Oct  6 02:23:28 2021
+++ python/Lib/ensurepip/__init__.py	Wed Oct  6 02:23:47 2021
@@ -180,7 +180,7 @@
             additional_paths.append(filename)
 
         # 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: