1From c43fa6609f8de20d2656892aad547d4d8ccb6cbe Mon Sep 17 00:00:00 2001
2From: hovercats <hovercatswithlasereyes@protonmail.com>
3Date: Thu, 2 May 2024 19:30:50 +0200
4Subject: [PATCH 3/3] fix python not always installing pip/setuptools
5
6---
7 Lib/ensurepip/__init__.py | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
9
10diff --git a/Lib/ensurepip/__init__.py b/Lib/ensurepip/__init__.py
11index f28ab11..6627189 100644
12--- a/Lib/ensurepip/__init__.py
13+++ b/Lib/ensurepip/__init__.py
14@@ -180,7 +180,7 @@ def _bootstrap(*, root=None, upgrade=False, user=False,
15 additional_paths.append(filename)
16
17 # Construct the arguments to be passed to the pip command
18- args = ["install", "--no-cache-dir", "--no-index", "--find-links", tmpdir]
19+ args = ["install", "-I", "--no-cache-dir", "--no-index", "--find-links", tmpdir]
20 if root:
21 args += ["--root", root]
22 if upgrade: