Skip to content

Commit 4d2a70e

Browse files
committed
Correctly pass extras to explicit requirement
Local source directory is still not working due to some other reasons. Need to investigate.
1 parent 0104adb commit 4d2a70e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pip/_internal/resolution/resolvelib/factory.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ def make_requirement_from_install_req(self, ireq):
152152
# Specifically, this might be needed in "name @ URL"
153153
# syntax - need to check where that syntax is handled.
154154
cand = self._make_candidate_from_link(
155-
ireq.link, extras=set(), parent=ireq,
155+
ireq.link, extras=ireq.extras, parent=ireq,
156156
)
157157
return ExplicitRequirement(cand)
158158
return SpecifierRequirement(ireq, factory=self)

0 commit comments

Comments
 (0)