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

Christopher Larson kergoth at gmail.com
Fri Nov 15 16:21:26 UTC 2019


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.
>
> Thanks,
>
> --
> Paul Barker
> --
> _______________________________________________
> bitbake-devel mailing list
> bitbake-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/bitbake-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/bitbake-devel/attachments/20191115/61fc6937/attachment.html>


More information about the bitbake-devel mailing list