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 27, 2020
1 parent 4aac688 commit ec3c409
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 @@ -162,7 +162,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 ec3c409

Please sign in to comment.