mirror of https://github.com/pypa/pip
Catch errors checking for conflicts, don't crash install
This commit is contained in:
parent
172a71b0cf
commit
3ec6775e1f
|
@ -472,7 +472,11 @@ class InstallCommand(RequirementCommand):
|
|||
)
|
||||
|
||||
def _warn_about_conflicts(self, to_install):
|
||||
package_set, _dep_info = check_install_conflicts(to_install)
|
||||
try:
|
||||
package_set, _dep_info = check_install_conflicts(to_install)
|
||||
except Exception as e:
|
||||
logger.error("Error checking for conflicts.", exc_info=True)
|
||||
return
|
||||
missing, conflicting = _dep_info
|
||||
|
||||
# NOTE: There is some duplication here from pip check
|
||||
|
|
Loading…
Reference in New Issue