mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
fix #1745
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user