diff --git a/craft_application/services/provider.py b/craft_application/services/provider.py index c3391b22..38607d32 100644 --- a/craft_application/services/provider.py +++ b/craft_application/services/provider.py @@ -144,7 +144,7 @@ def get_base( base_name: bases.BaseName | tuple[str, str], *, instance_name: str, - **kwargs: bool | str | None, + **kwargs: bool | str | pathlib.Path | None, ) -> craft_providers.Base: """Get the base configuration from a base name. @@ -164,7 +164,7 @@ def get_base( # this only applies to our Buildd images (i.e.; Ubuntu) self.packages.extend(["gpg", "dirmngr"]) return base_class( - alias=alias, + alias=alias, # pyright: ignore[reportArgumentType] craft-providers annotations are loose. compatibility_tag=f"{self._app.name}-{base_class.compatibility_tag}", hostname=instance_name, snaps=self.snaps,