[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#719941: libreoffice-script-provider-python: python 3 porting issues



Ok, great, so basically we will need to do an if statement and support
both. What exact version are we using here and what should I patch
against?

>>> import sys
>>> PY3 = sys.version > '3'
http://python3porting.com/problems.html


mike

On Sat, Aug 17, 2013 at 7:30 AM, Rene Engelhard <rene@debian.org> wrote:
> Hi,
>
> On Sat, Aug 17, 2013 at 06:12:58AM -0500, Mike Dupont wrote:
>> encfile(msg).decode() does not work with py2.7, encfile returns bytes
>> not a string which needs to be decoded
>> http://docs.python.org/3.0/whatsnew/3.0.html
>>
>> as far as I know the latest version of libreoffice does not support
>> 2.7 ,
>
> Yeah. The lastest *upstream* version doesn't support it. We build it
> still (see below).
>
> So if we applied that we'd need to make -script-provider-python
> depend on python3-uno instead of the python3-uno | python-uno right now ...
>
>> but someone said you can compile with it
>
> As we do (python-uno), as most reverse-dependencies are not updated yet
> for python3. See
>
> #707338 [w|u|  ] [bibus] please support python3 (and python3-uno)
> #707339 [w|u|  ] [ooo2dbk] please support python3 (and python3-uno)
> #707340 [w|u|  ] [docvert-libreoffice] please support python3 (and python3-uno)
> #707341 [w|u|  ] [gnumed-client] please support python3 (and python3-uno)
> #707342 [w|u|  ] [src:sqlkit] please support python3 (and python3-uno)
>
> This doesn't break the -script-provider-python but only python-uno
> though (see above)
>
> Regards,
>
> Rene



-- 
James Michael DuPont
Member of Free Libre Open Source Software Kosova http://flossk.org
Saving wikipedia(tm) articles from deletion http://SpeedyDeletion.wikia.com
Contributor FOSM, the CC-BY-SA map of the world http://fosm.org
Mozilla Rep https://reps.mozilla.org/u/h4ck3rm1k3
Free Software Foundation Europe Fellow http://fsfe.org/support/?h4ck3rm1k3


Reply to: