We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0bb2a9c commit ecc2697Copy full SHA for ecc2697
src/poetry/installation/executor.py
@@ -148,6 +148,14 @@ def execute(self, operations: list[Operation]) -> int:
148
self._sections = {}
149
self._yanked_warnings = []
150
151
+ # pip has to be installed/updated first without parallelism
152
+ # because we still need it for uninstalls
153
+ for i, op in enumerate(operations):
154
+ if op.package.name == "pip":
155
+ wait([self._executor.submit(self._execute_operation, op)])
156
+ del operations[i]
157
+ break
158
+
159
# We group operations by priority
160
groups = itertools.groupby(operations, key=lambda o: -o.priority)
161
for _, group in groups:
0 commit comments