[oe] python 2.6 warning

Richard Purdie rpurdie at rpsys.net
Mon May 11 12:54:09 UTC 2009


On Mon, 2009-05-11 at 07:39 -0400, Philip Balister wrote:
> Michael 'Mickey' Lauer wrote:
> > On Monday 11 May 2009 11:22:56 Robert Schuster wrote:
> >> Hi all,
> >> those who are using bitbake with Python 2.6 (e.g. Ubuntu 09.04, Debian
> >> sid) will notice this warning:
> >>
> >> /home/rschus/oe/bitbake/lib/bb/COW.py:29: DeprecationWarning: the sets
> >> module is deprecated
> >>   import types, sets
> >>
> >> Is anyone from OE in the know how to fix that properly?
> > 
> > Basically you need to rewrite COW.py to work with the new built-in sets. Might 
> > be a chance to get another BitBake release out.
> 
> Will this still work with python 2.5?

There were patches for this on the bitbake list. I suspect 2.5 will be
fine, not sure about 2.4 or earlier. I've not had a chance to look into
this yet :(

Cheers,

Richard





More information about the Openembedded-devel mailing list