mirror of https://github.com/pypa/pip
Bugfix: when not find a version that satisfies the requirement.
show all versions but duplicate
This commit is contained in:
parent
4087145c09
commit
e430b58ceb
|
@ -348,10 +348,11 @@ class PackageFinder(object):
|
|||
'(from versions: %s)' %
|
||||
(
|
||||
req,
|
||||
', '.join([
|
||||
version
|
||||
for parsed_version, link, version in all_versions
|
||||
])
|
||||
', '.join(
|
||||
sorted(list(set([
|
||||
version
|
||||
for parsed_version, link, version in all_versions
|
||||
]))))
|
||||
)
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue