[chimera-dev] timeline for python2.6 in Chimera on OS X?

Mark Moll mmoll at macports.org
Tue Sep 8 12:36:39 PDT 2009


Hi Greg,

Thanks for this information.

On Sep 8, 2009, at 1:28 PM, Greg Couch wrote:

> On Mon, 7 Sep 2009, Mark Moll wrote:
>
>> On OS X 10.6 (Snow Leopard) the default python version is 2.6.  
>> Python 2.5 is also available, but is kind of hacky. Part of the  
>> problem is that python2.5 doesn't compile as a framework. Another  
>> (possibly related) problem is that Tk depends on Carbon (at least  
>> the "native" version does) and Carbon no longer exists in 10.6. See http://bugs.python.org/issue6802 
>>  fordetails.
>>
>> I'm relying both on MacPorts and Chimera for dependencies, so I need
>> them to be in sync (for example, boost.python built against python2.6
>> won't work with Chimera's python2.5). I could try to hack around the
>> python2.5 problems on 10.6, but it'd be nice if I could drop in
>> python2.6 in Chimera and everything would "just work." This is
>> unlikely going to be the case, so I was wondering if the Chimera team
>> already has a switch to python2.6 planned in its development roadmap.
>>
>> -- 
>> Mark
>
> For the upcoming chimera 1.4 release, chimera is staying with Python  
> 2.5. After that, we plan to update our Python to 2.6 or 3.1 and Tcl/ 
> Tk to 8.6 for the daily builds.  Tk 8.6 is currently in beta and  
> uses Cocoa instead instead of Carbon internally.  Once Tk uses  
> Cocoa, we will be able to do 64-bit builds for the Mac.  This 32-bit  
> versus 64-bit problem might be another thing that preventing you  
> from combining MacPorts and Chimera.

Argh, I hadn't thought of the 32bit vs. 64 bit problem. I'll need to  
make universal binaries...

> Do you need anything besides boost.python from MacPorts?  We are  
> already compiling boost.python 1.34.1 in the chimera builds and  
> could make that available as a separate download.

I also use boost.serialization, boost.mpi, hdf5 (with szip support),  
fftw3. I could compile Boost "by hand" and force it to use python2.5  
(either the framework in /System or the one in Chimera).

>
> 	- Greg
>
> P.S. The Aqua version of chimera uses a Python 2.5 framework, so not  
> sure where you read it didn't compile.  The X11 chimera of chimera  
> doesn't use frameworks to be more like the Linux X11 version.

You're probably compiling the framework on 10.5. On 10.6 it doesn't  
compile; see http://bugs.python.org/issue6802.

-- 
Mark






More information about the Chimera-dev mailing list