All of lore.kernel.org
 help / color / mirror / Atom feed
From: Khem Raj <raj.khem@gmail.com>
To: Christopher Larson <kergoth@gmail.com>,
	 bitbake-devel@lists.openembedded.org,
	Paul Barker <paul@betafive.co.uk>
Subject: Re: Warnings when starting bitbake with Python 3.8.0
Date: Fri, 15 Nov 2019 09:26:35 -0800	[thread overview]
Message-ID: <c2c0fb65a917506fb514588feffd8710be7c1fac.camel@gmail.com> (raw)
In-Reply-To: <22367b6d-6c98-41fe-b795-4618af17cd6c@Spark>

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@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@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/bitbake-devel



  reply	other threads:[~2019-11-15 17:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-15 12:58 Warnings when starting bitbake with Python 3.8.0 Paul Barker
2019-11-15 16:21 ` Christopher Larson
2019-11-15 17:26   ` Khem Raj [this message]
2019-11-15 18:08     ` Richard Purdie
2019-11-15 18:09       ` Khem Raj

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c2c0fb65a917506fb514588feffd8710be7c1fac.camel@gmail.com \
    --to=raj.khem@gmail.com \
    --cc=bitbake-devel@lists.openembedded.org \
    --cc=kergoth@gmail.com \
    --cc=paul@betafive.co.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.