This commit is contained in:
2018-03-14 18:58:51 -04:00
parent 9bbf11486a
commit 6896462570
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -488,7 +488,7 @@ class PackageFinder(object):
dependency_versions
)
def find_requirement(self, req, upgrade, ignore_compatibility=True):
def find_requirement(self, req, upgrade, ignore_compatibility=False):
"""Try to find a Link matching req
Expects req, an InstallRequirement and upgrade, a boolean
+2 -1
View File
@@ -40,7 +40,7 @@ class PyPIRepository(BaseRepository):
config), but any other PyPI mirror can be used if index_urls is
changed/configured on the Finder.
"""
def __init__(self, pip_options, session, use_json=True):
def __init__(self, pip_options, session, use_json=False):
self.session = session
self.use_json = use_json
@@ -218,6 +218,7 @@ class PyPIRepository(BaseRepository):
ignore_installed=True,
ignore_compatibility=False
)
result = reqset._prepare_file(self.finder, ireq, ignore_requires_python=True)
# Convert setup_requires dict into a somewhat usable form.