From efe9d4b762ff4af670bbd9ca4abb780216ba8808 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Sun, 19 Mar 2023 15:13:54 +0100 Subject: [PATCH] Remove unused argument --- src/pip/_internal/req/constructors.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/pip/_internal/req/constructors.py b/src/pip/_internal/req/constructors.py index de3136fb6..8f7dc507c 100644 --- a/src/pip/_internal/req/constructors.py +++ b/src/pip/_internal/req/constructors.py @@ -456,7 +456,6 @@ def install_req_from_parsed_requirement( isolated: bool = False, use_pep517: Optional[bool] = None, user_supplied: bool = False, - config_settings: Optional[Dict[str, str]] = None, ) -> InstallRequirement: if parsed_req.is_editable: req = install_req_from_editable( @@ -466,7 +465,6 @@ def install_req_from_parsed_requirement( constraint=parsed_req.constraint, isolated=isolated, user_supplied=user_supplied, - config_settings=config_settings, ) else: @@ -486,7 +484,6 @@ def install_req_from_parsed_requirement( constraint=parsed_req.constraint, line_source=parsed_req.line_source, user_supplied=user_supplied, - config_settings=config_settings, # TODO get this from parsed_req.options? ) return req