From 5b6d872459ce7f2bd6346130f2d7ab8099275908 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Thu, 13 Mar 2014 08:57:58 +0000 Subject: [PATCH] python_dependency: always bottle with brew Python. --- Library/Homebrew/requirements/python_dependency.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Library/Homebrew/requirements/python_dependency.rb b/Library/Homebrew/requirements/python_dependency.rb index 246fbec2e7..4bdc9f614b 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