From ba76e06cff790e1eb56f7317a84cd4ee1b496759 Mon Sep 17 00:00:00 2001 From: ilovezfs Date: Sat, 30 Dec 2017 11:35:35 -0800 Subject: [PATCH] formula_installer: allow version mismatched python deps Dependency trees with both python@2 and python@3 are not inherently problematic. --- Library/Homebrew/formula_installer.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index 2285fee91b..d30faf5621 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -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