Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: python-poetry/poetry
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: b1e7f4fd8e159bad1aa5d6f32bd119c626663451
Choose a base ref
..
head repository: python-poetry/poetry
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 562edf611809822399607efbae20fbdda2dc84f6
Choose a head ref
Showing with 4 additions and 1 deletion.
  1. +4 −1 poetry/installation/executor.py
5 changes: 4 additions & 1 deletion poetry/installation/executor.py
Original file line number Diff line number Diff line change
@@ -115,9 +115,12 @@ def execute(self, operations): # type: (Operation) -> int
# Some operations are unsafe, we mus execute them serially in a group
# https://github.com/python-poetry/poetry/issues/3086
# https://github.com/python-poetry/poetry/issues/2658
#
# We need to explicitly check source type here, see:
# https://github.com/python-poetry/poetry-core/pull/98
is_parallel_unsafe = operation.job_type == "uninstall" or (
operation.package.develop
and operation.package.source_type == "directory"
and operation.package.source_type in {"directory", "git"}
)
if not operation.skipped and is_parallel_unsafe:
serial_operations.append(operation)