summaryrefslogtreecommitdiff
path: root/src/pip/_internal/req/constructors.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/pip/_internal/req/constructors.py')
-rw-r--r--src/pip/_internal/req/constructors.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pip/_internal/req/constructors.py b/src/pip/_internal/req/constructors.py
index 37dbd32e7..c5ca2d85d 100644
--- a/src/pip/_internal/req/constructors.py
+++ b/src/pip/_internal/req/constructors.py
@@ -211,7 +211,6 @@ def install_req_from_editable(
permit_editable_wheels: bool = False,
config_settings: Optional[Dict[str, Union[str, List[str]]]] = None,
) -> InstallRequirement:
-
parts = parse_req_from_editable(editable_req)
return InstallRequirement(
@@ -417,7 +416,6 @@ def install_req_from_req_string(
isolated: bool = False,
use_pep517: Optional[bool] = None,
user_supplied: bool = False,
- config_settings: Optional[Dict[str, Union[str, List[str]]]] = None,
) -> InstallRequirement:
try:
req = get_requirement(req_string)
@@ -447,7 +445,6 @@ def install_req_from_req_string(
isolated=isolated,
use_pep517=use_pep517,
user_supplied=user_supplied,
- config_settings=config_settings,
)
@@ -456,6 +453,7 @@ def install_req_from_parsed_requirement(
isolated: bool = False,
use_pep517: Optional[bool] = None,
user_supplied: bool = False,
+ config_settings: Optional[Dict[str, Union[str, List[str]]]] = None,
) -> InstallRequirement:
if parsed_req.is_editable:
req = install_req_from_editable(
@@ -465,6 +463,7 @@ def install_req_from_parsed_requirement(
constraint=parsed_req.constraint,
isolated=isolated,
user_supplied=user_supplied,
+ config_settings=config_settings,
)
else:
@@ -484,6 +483,7 @@ def install_req_from_parsed_requirement(
constraint=parsed_req.constraint,
line_source=parsed_req.line_source,
user_supplied=user_supplied,
+ config_settings=config_settings,
)
return req