Skip to content

Commit

Permalink
Always read extras from InstallRequirement.extras
Browse files Browse the repository at this point in the history
  • Loading branch information
uranusjr committed May 22, 2020
1 parent f7f538b commit d2da7fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pip/_internal/resolution/resolvelib/factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def _iter_found_candidates(
for ireq in ireqs:
specifier &= ireq.req.specifier
hashes |= ireq.hashes(trust_internet=False)
extras |= ireq.req.extras
extras |= frozenset(ireq.extras)

# We use this to ensure that we only yield a single candidate for
# each version (the finder's preferred one for that version). The
Expand Down

0 comments on commit d2da7fb

Please sign in to comment.