diff --git a/Library/Homebrew/requirements/python_dependency.rb b/Library/Homebrew/requirements/python_dependency.rb index 246fbec2e780b40bece343a98042c92cd11652d0..4bdc9f614b094433a3127115553ea301052cc80e 100644 --- a/Library/Homebrew/requirements/python_dependency.rb +++ b/Library/Homebrew/requirements/python_dependency.rb @@ -5,6 +5,9 @@ class PythonDependency < Requirement default_formula "python" satisfy :build_env => false do + # Always build bottles against Homebrew Python as they still work + # against a 2.7 system Python. + next if ARGV.build_bottle? python = which_python next unless python version = python_short_version