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

Paul Barker paul at betafive.co.uk
Fri Nov 15 12:58:56 UTC 2019


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


More information about the bitbake-devel mailing list