formula_installer: allow version mismatched python deps

Dependency trees with both python@2 and python@3 are not inherently
problematic.
This commit is contained in:
ilovezfs 2017-12-30 11:35:35 -08:00
parent 9e93720e8f
commit ba76e06cff

View File

@ -182,6 +182,7 @@ class FormulaInstaller
recursive_runtime_formulae.each do |f|
name = f.name
unversioned_name, = name.split("@")
next if unversioned_name == "python"
version_hash[unversioned_name] ||= Set.new
version_hash[unversioned_name] << name
next if version_hash[unversioned_name].length < 2