diff --git a/Library/Homebrew/dev-cmd/bump-formula-pr.rb b/Library/Homebrew/dev-cmd/bump-formula-pr.rb index 4fec1e311214e..d07b1b0d84f97 100644 --- a/Library/Homebrew/dev-cmd/bump-formula-pr.rb +++ b/Library/Homebrew/dev-cmd/bump-formula-pr.rb @@ -145,7 +145,9 @@ def bump_formula_pr check_closed_pull_requests(formula, tap_full_name, version: new_version, args: args) if new_version opoo "This formula has patches that may be resolved upstream." if formula.patchlist.present? - opoo "This formula has resources that may need to be updated." if formula.resources.present? + if formula.resources.present? && formula.resources.any? { |resource| resource.name != "homebrew-virtualenv" } + opoo "This formula has resources that may need to be updated." + end requested_spec = :stable formula_spec = formula.stable