[bitbake-devel] [Openembedded-architecture] Python 3 for Bitbake

Otavio Salvador otavio.salvador at ossystems.com.br
Thu May 5 17:47:24 UTC 2016


On Thu, May 5, 2016 at 2:29 PM, Jan-Simon Möller <dl9pf at gmx.de> wrote:
> Am Donnerstag, 5. Mai 2016, 10:13:21 schrieb Mark Hatle:
>> >> Question, do we need any type of identifier in layers to say they're
>> >> "python3" compatible or not?
>> >
>> > Layers that are python2 will need krogoth branches. I'd expect master
>> > branches to follow oe-core/master and jump to python3.
>>
>> I don't disagree, but my experience has been that branching is late or never
>> in a lot of layers.
>>
>> This might be a place where we need to plan to go through the layer index
>> and at least see if the layer parses -- and flag things that no longer
>> parse?  (I don't even know if this is something reasonable to attempt.)
>>
>> My fear is just we've already got a lot of "broken" (without defining that)
>> layers in the index, and I think it will be worse once the python3 change
>> happens.  I'd really like to make sure we don't confuse people with various
>> errors.
>>
>
> As it is a hard cut anyway, call it YP 3.0 (!) and start with an empty
> layerindex for 3.0 and only add layers that parse or are maintained.
> Legacy is 1.x/2.x and will be a separate page.

Due the move to Python 3, using 3.0 as version does make sense.


-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750



More information about the bitbake-devel mailing list