All of lore.kernel.org
 help / color / mirror / Atom feed
From: Khem Raj <raj.khem@gmail.com>
To: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: bitbake-devel <bitbake-devel@lists.openembedded.org>
Subject: Re: Warnings when starting bitbake with Python 3.8.0
Date: Fri, 15 Nov 2019 10:09:36 -0800	[thread overview]
Message-ID: <CAMKF1sr9iCorB7+YRgL3z2v2PokcQFoZyNRe53F868=MRs=zwg@mail.gmail.com> (raw)
In-Reply-To: <bc4e01ad343f942699462c9a65c9833404f0614f.camel@linuxfoundation.org>

On Fri, Nov 15, 2019 at 10:08 AM Richard Purdie
<richard.purdie@linuxfoundation.org> wrote:
>
> On Fri, 2019-11-15 at 09:26 -0800, Khem Raj wrote:
> > 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
>
> Rather than see more emails and bugs on this I sent a patch...
>

superb. Arch users will send positive vibes to you :)

> Cheers,
>
> Richard
>


      reply	other threads:[~2019-11-15 18:10 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
2019-11-15 18:08     ` Richard Purdie
2019-11-15 18:09       ` Khem Raj [this message]

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='CAMKF1sr9iCorB7+YRgL3z2v2PokcQFoZyNRe53F868=MRs=zwg@mail.gmail.com' \
    --to=raj.khem@gmail.com \
    --cc=bitbake-devel@lists.openembedded.org \
    --cc=richard.purdie@linuxfoundation.org \
    /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.