diff --git a/Library/Homebrew/formula_cellar_checks.rb b/Library/Homebrew/formula_cellar_checks.rb index 6a509ee7c1..b793188396 100644 --- a/Library/Homebrew/formula_cellar_checks.rb +++ b/Library/Homebrew/formula_cellar_checks.rb @@ -180,6 +180,8 @@ module FormulaCellarChecks match.captures.first end.compact + return if pythons.blank? + python_deps = deps.map(&:name) .grep(/^python(@.*)?$/) .map { |d| Formula[d].version.to_s[/^\d+\.\d+/] }