summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pip/_internal/resolution/resolvelib/candidates.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/pip/_internal/resolution/resolvelib/candidates.py b/src/pip/_internal/resolution/resolvelib/candidates.py
index b1ff28288..39af0d5db 100644
--- a/src/pip/_internal/resolution/resolvelib/candidates.py
+++ b/src/pip/_internal/resolution/resolvelib/candidates.py
@@ -79,7 +79,7 @@ def make_install_req_from_editable(
link: Link, template: InstallRequirement
) -> InstallRequirement:
assert template.editable, "template not editable"
- return install_req_from_editable(
+ ireq = install_req_from_editable(
link.url,
user_supplied=template.user_supplied,
comes_from=template.comes_from,
@@ -91,6 +91,8 @@ def make_install_req_from_editable(
hash_options=template.hash_options,
config_settings=template.config_settings,
)
+ ireq.extras = template.extras
+ return ireq
def _make_install_req_from_dist(