mirror of
https://github.com/pypa/pip
synced 2023-12-13 21:30:23 +01:00
Fixes discovery of requirement locations with absolute versions
This commit is contained in:
parent
9410a91e6c
commit
39858fb4f2
5
pip.py
5
pip.py
|
@ -993,8 +993,9 @@ class PackageFinder(object):
|
|||
locations = list(self.find_links)
|
||||
locations.extend(self.dependency_links)
|
||||
for version in req.absolute_versions:
|
||||
locations = [
|
||||
posixpath.join(url, url_name, version)] + locations
|
||||
if url_name is not None:
|
||||
locations = [
|
||||
posixpath.join(url, url_name, version)] + locations
|
||||
locations = [Link(url) for url in locations]
|
||||
logger.debug('URLs to search for versions for %s:' % req)
|
||||
for location in locations:
|
||||
|
|
Loading…
Reference in a new issue