Re: problems build root on OSX against non-system python version

From: Chris Jones <jonesc_at_hep.phy.cam.ac.uk>
Date: Wed, 14 Sep 2011 20:53:00 +0100


Hi,

I think as far as users are concerned it is irrelevant which part of 'ROOT' doesn't support python 3.2. If *any* bit doesn't, then as a whole ROOT doesn't.

As far as MacPorts goes, I just will not supply a python32 variant for the moment. Building against python31 seems OK.

Chris

On 14 Sep 2011, at 8:45pm, <wlavrijsen_at_lbl.gov> <wlavrijsen_at_lbl.gov> wrote:

> Chris,
>

>> On 14 Sep 2011, at 6:37pm, <wlavrijsen_at_lbl.gov> <wlavrijsen_at_lbl.gov> wrote:
>>> why patches? PyROOT supports p3.x.
>> 
>> Does ROOT support python 3.2 ? If I try and build against that I get the
>> errors below ?

>
> that's all in Reflex related parts; my statement was that PyROOT supports
> p3.x. "ROOT" as a whole (i.e. genreflex and PyCintex included) does not yet.
>
> PyCintex could be easily fixed, since the problematic portion is a c&p from
> ROOT.py, but genreflex may be more work, although the conversion script may
> be sufficient if it is acceptable to maintain two versions, or it may benefit
> from using python2 instead of python.
>
> Basically for PyCintex.py:
>
> for name in stlclasses:
> locals()[ name ] = Template( "std::%s" % name )
>
> instead of:
>
> for name in stlclasses:
> exec '%(name)s = Template( "std::%(name)s" )' % { 'name' : name }
>
> should do the trick to have code that works on both p2 and p3.
>
> All that said, are there users? I know of 1 person using p3.x (for whom I
> did the porting work of PyROOT). For ATLAS, use of p3.x wouldn't be a good
> idea, since the framework configuration uses lots of strings, and these
> double in size in p3.x since strings become unicode.
>
> Best regards,
> Wim
> --
> WLavrijsen_at_lbl.gov -- +1 (510) 486 6411 -- www.lavrijsen.net
>

Received on Wed Sep 14 2011 - 21:53:06 CEST

This archive was generated by hypermail 2.2.0 : Wed Sep 14 2011 - 23:50:01 CEST