aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike McQuaid2017-12-30 20:14:53 +0000
committerGitHub2017-12-30 20:14:53 +0000
commit73cb1ac265866dd3abd8b6ebccf64fe3a145b2a8 (patch)
tree829bdd671f8648c1e56c3fd98c413baecb6ef61f
parent7f54c83911a494b592e412d2f99119530cebf458 (diff)
parentba76e06cff790e1eb56f7317a84cd4ee1b496759 (diff)
downloadbrew-73cb1ac265866dd3abd8b6ebccf64fe3a145b2a8.tar.bz2
Merge pull request #3613 from ilovezfs/allow-install-mixed-python-dependency-tree
formula_installer: allow version mismatched python deps
-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 0836e7a9f..1e2d77b2c 100644
--- a/Library/Homebrew/formula_installer.rb
+++ b/Library/Homebrew/formula_installer.rb
@@ -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