aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorilovezfs2017-12-30 11:35:35 -0800
committerilovezfs2017-12-30 11:35:35 -0800
commitba76e06cff790e1eb56f7317a84cd4ee1b496759 (patch)
tree7048076723dd757f13a3f98dbd80f72a3674fad1 /Library
parent9e93720e8fddcf3e2184af966a9471b3f0d906be (diff)
downloadbrew-ba76e06cff790e1eb56f7317a84cd4ee1b496759.tar.bz2
formula_installer: allow version mismatched python deps
Dependency trees with both python@2 and python@3 are not inherently problematic.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula_installer.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb
index 2285fee91..d30faf562 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