Always read extras from InstallRequirement.extras

This commit is contained in:
Tzu-ping Chung 2020-05-22 16:52:59 +08:00
parent 6c6b6a7765
commit b8404fde99
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ class Factory(object):
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