aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/requirements/python_dependency.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Homebrew/requirements/python_dependency.rb b/Library/Homebrew/requirements/python_dependency.rb
index 246fbec2e..4bdc9f614 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