diff --git a/src/poetry/utils/extras.py b/src/poetry/utils/extras.py index d2150042492..f6b93df82cc 100644 --- a/src/poetry/utils/extras.py +++ b/src/poetry/utils/extras.py @@ -14,7 +14,7 @@ def get_extra_package_names( packages: Iterable[Package], - extras: Mapping[NormalizedName, list[NormalizedName]], + extras: Mapping[NormalizedName, Iterable[NormalizedName]], extra_names: Collection[NormalizedName], ) -> set[NormalizedName]: """