diff options
author | Cem Keylan <cem@ckyln.com> | 2020-07-16 11:32:16 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-07-16 11:32:16 +0300 |
commit | 2e6cbd26fdc45c714f6c63e1f3f6d3c5d517db64 (patch) | |
tree | 2efbf3bf9199c7d4b6a653d13f1debd45f6dddc4 | |
parent | 473028a5488db21720c1d6b65445f9a6405e7d5f (diff) | |
download | repository-2e6cbd26fdc45c714f6c63e1f3f6d3c5d517db64.tar.gz |
python: fix patch
-rw-r--r-- | extra/python/patches/python3-always-pip.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/extra/python/patches/python3-always-pip.patch b/extra/python/patches/python3-always-pip.patch index 91789c98..a228bd6b 100644 --- a/extra/python/patches/python3-always-pip.patch +++ b/extra/python/patches/python3-always-pip.patch @@ -1,13 +1,13 @@ diff --git a/Lib/ensurepip/__init__.py b/Lib/ensurepip/__init__.py -index 526dfd0..d85dc33 100644 +index f3152a5..52f6312 100644 --- a/Lib/ensurepip/__init__.py +++ b/Lib/ensurepip/__init__.py -@@ -104,7 +104,7 @@ def _bootstrap(*, root=None, upgrade=False, user=False, +@@ -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 -- args = ["install", "--no-index", "--find-links", tmpdir] -+ args = ["install", "-I", "--no-index", "--find-links", tmpdir] +- 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: |