Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


python31 with --universal fails #62

nkraft opened this Issue · 1 comment

2 participants

Nicholas A. Kraft Samuel John
Nicholas A. Kraft

This issue is analogous to Homebrew/homebrew#15241. There is a simple fix (see below), though I am not sure that it is the preferred fix. I have not tried to install any of the other python formulae in homebrew-versions, but it seems that python25 and python26 also have this issue, whereas python32 does not.

diff --git a/python31.rb b/python31.rb
index 72950e0..0793ce1 100644
--- a/python31.rb
+++ b/python31.rb
@@ -49,6 +49,7 @@ class Python31 < Formula
     args = ["--prefix=#{prefix}", "--with-computed-gotos"]

     if ARGV.include? '--universal'
+      ENV.universal_binary
       args << "--enable-universalsdk=/" << "--with-universal-archs=intel"
Samuel John

You are right.
However, I should rework the python31 and python32 to meet the new python3 formula from mxcl/homebrew as the older formulae are kind of outdated (and even conflicting with python3).

Samuel John samueljohn was assigned
Adam Vandenberg adamv closed this issue from a commit
Adam Vandenberg adamv Redact old Python versions.
Python support in Homebrew is tricky to get right, and the way the
most-recent versions of Python 2.7.x and 3.x are handled in core
change over time.

These older versions of Python have not kept up-to-date with these
layout changes, and have installation problems as-is.

In addition, these versions may not be getting important security
updates any more.

Removing these from the versions repo; if they are still needed
by any users they should be handled in a (different) external tap.

Closes #84.
Closes #62.
Closes #229.
Closes #167.
Closes Homebrew/homebrew#27208
Adam Vandenberg adamv closed this in 4fec135
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.