[bitbake-devel] Warnings when starting bitbake with Python 3.8.0

Khem Raj raj.khem at gmail.com
Fri Nov 15 17:26:35 UTC 2019


On Fri, 2019-11-15 at 09:21 -0700, Christopher Larson wrote:
> That’s definitely a bug, incorrect usage of `is`.
> On Nov 15, 2019, 6:06 AM -0700, Paul Barker <paul at betafive.co.uk>,
> wrote:
> > I'm using Arch on one of my dev machines and recent upgrades have
> > brought in Python 3.8.0.
> > 
> > When running bitbake (latest master,
> > 33197db8abf82be240d7c1c5c9d2484a08a90849) I'm seeing the following
> > warnings. This only happens on the first invocation as __pycache__
> > is used after this.
> > 
> > /.../bitbake/lib/bb/fetch2/clearcase.py:148: SyntaxWarning: "is"
> > with a literal. Did you mean "=="?
> > if command is 'mkview':
> > /.../bitbake/lib/bb/fetch2/clearcase.py:155: SyntaxWarning: "is"
> > with a literal. Did you mean "=="?
> > elif command is 'rmview':
> > /.../bitbake/lib/bb/fetch2/clearcase.py:159: SyntaxWarning: "is"
> > with a literal. Did you mean "=="?
> > elif command is 'setcs':
> > 
> > I've never used the clearcase fetcher and have no way of testing
> > this myself so I don't want to dive into it. May be worth someone
> > who is using this taking a look at it though.
> > 

Yes, this was latent, either a patch or bug will be good to have

> > Thanks,
> > 
> > --
> > Paul Barker
> > --
> > _______________________________________________
> > bitbake-devel mailing list
> > bitbake-devel at lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/bitbake-devel



More information about the bitbake-devel mailing list