From 0cf6052fccbff8b3a9b47e1389abdb43f652795d Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 5 Nov 2019 09:51:17 +0000 Subject: [PATCH] cmd/upgrade: comment-out broken_dependents functionality. This is not a fix for https://github.com/Homebrew/brew/issues/6671 but will stop people hitting this bug for now. --- Library/Homebrew/cmd/upgrade.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Library/Homebrew/cmd/upgrade.rb b/Library/Homebrew/cmd/upgrade.rb index a18da5dc8e..2789df8dd3 100644 --- a/Library/Homebrew/cmd/upgrade.rb +++ b/Library/Homebrew/cmd/upgrade.rb @@ -360,6 +360,10 @@ module Homebrew upgrade_formulae(upgradable) + # TODO: re-enable when this code actually works. + # https://github.com/Homebrew/brew/issues/6671 + return unless ENV["HOMEBREW_BROKEN_DEPENDENTS"] + # Assess the dependents tree again. kegs = formulae_with_runtime_dependencies