Skip to contentSkip to conversation

OE/bitbake and python 3?

DISCUSSION Robert P. J. Day 3 participants 3 messages Jan 14, 2010

lore
Share & tools
lore
#0 lore raw

as i'm currently playing with python 3 but also digging my way thru
bitbake, are there any obvious incompatibilities between bitbake/OE and python 3? i'm assuming there is absolutely no guarantee that bitbake/OE will run under python 3.

rday
--

========================================================================
Robert P. J. Day Waterloo, Ontario, CANADA

Linux Consulting, Training and Kernel Pedantry.

Web page:                                          http://crashcourse.ca
Twitter:                                       http://twitter.com/rpjday

========================================================================

#1 lore raw
Quoted 4 lines · On Thursday 14 January 2010 15:47:35 Robert P. J. Day wrote:

as i'm currently playing with python 3 but also digging my way thru
bitbake, are there any obvious incompatibilities between bitbake/OE and python 3? i'm assuming there is absolutely no guarantee that bitbake/OE will run under python 3.

I think we are using print >> file, STRING in a couple of places. What would be interesting is to use the Python3 converter and to look at the diff of what was changed...

#2 lore raw
In reply to Robert P. J. Day

Am Donnerstag, den 14.01.2010, 09:47 -0500 schrieb Robert P. J. Day:

Quoted 4 lines

as i'm currently playing with python 3 but also digging my way thru bitbake, are there any obvious incompatibilities between bitbake/OE and python 3? i'm assuming there is absolutely no guarantee that bitbake/OE will run under python 3.

Correct. I expect it to fail horribly. If you're interested in that, a good first step would be to pass it through 2to3 - a utility from the python community.

Signature · 1 line
:M: