diff --git a/micropip/install.py b/micropip/install.py index 4183c86..c36c91b 100644 --- a/micropip/install.py +++ b/micropip/install.py @@ -20,6 +20,7 @@ async def install( index_urls: list[str] | str | None = None, *, verbose: bool | int = False, + **fetch_kwargs, ) -> None: """Install the given package and all of its dependencies. @@ -114,8 +115,6 @@ async def install( if isinstance(requirements, str): requirements = [requirements] - fetch_kwargs = dict() - if credentials: fetch_kwargs["credentials"] = credentials