On 12/1/12, Pedro Giffuni <p...@apache.org> wrote: > FWIW; > > After updating Python to 2.7.3 I started working on updating > pyuno so that it works with Python3 and Python2. I didn't > finish and I don't really have much time for that lately but > I will be glad to point someone else in the right direction.
Any logs on the modifications or issues for the migration? > Adding support for Python3 in pyuno is important and people > that make their own packages will need it but in general I would > advice against doing the update to 3.x by default now. Let others > deal with the migration issues first ;). Crazy idea here, but can we componetize the pyuno bridge, and offer it as an extension using it's own virtualenv. That way Python3 could be enable or disabled? Having a pre-compiled pyuno3.so provided as a packaged could help users choose or prepare. However the extension would need to be smart enough to know the OS/Arquitecture/Version of the installed OO? > > Pedro. > > > ----- Original Message ----- >> >> On Fri, Nov 30, 2012 at 8:33 AM, Rob Weir wrote: >> >>> On Fri, Nov 30, 2012 at 7:11 AM, Andre Fischer >> wrote: >>> > On 30.11.2012 12:02, FR web forum wrote: >>> >>> >>> >>> In trunk we currently have version 2.7.3. Would that be OK? >>> >> >>> >> Python 2.7.3 is in end of life. >>> >> >>> >> It will be better to directly include Python 3.3. >>> >> Compatibility for extensions will be more easy with future LibO 4 >> that >>> use >>> >> already this version. >>> > >>> > >>> > I thought that 2.x is incompatible from 3.x. Would existing extensions >>> still >>> > work with 3.3? >>> > >>> >>> Moving to 3.x would be an incompatible change. But 2.7.x is on >>> "extended maintenance" but no new features are being done there. >>> >>> So the future is certainly with 3.x. But we would need to communicate >>> very carefully with extension authors if we want to make this move. >>> We want to avoid this: >>> >>> 1) AOO 4.0 comes out with broken extensions and unhappy users >>> >>> 2) Extension authors have insufficient time to test with Python 3.x >>> support, leading to 1 >>> >>> 3) Extension authors are not aware that we are switching to Python >>> 3.x, leading to 1 >>> >>> So if we want to do this we would need to notify extension authors >>> ASAP and give them a way to test their extensions with Python 3.x. So >>> maybe integrate the new Python early and have a developer preview >>> version that they can test with? >>> >>> >>> -Rob >>> >>> > -Andre >>> > >>> > -- Alexandro Colorado PPMC Apache OpenOffice http://es.openoffice.org