Merge pull request #3613 from ilovezfs/allow-install-mixed-python-dependency-tree

formula_installer: allow version mismatched python deps
This commit is contained in:
Mike McQuaid 2017-12-30 20:14:53 +00:00 committed by GitHub
commit 73cb1ac265
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -179,6 +179,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