Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Alexander Kanavin <alexander.kanavin@linux.intel.com>
To: openembedded-core@lists.openembedded.org
Subject: Re: moving OpenEmbedded-core to Python 3
Date: Wed, 27 Apr 2016 15:51:55 +0300	[thread overview]
Message-ID: <5720B5EB.80309@linux.intel.com> (raw)
In-Reply-To: <571E3387.6090201@gmail.com>

On 04/25/2016 06:11 PM, akuster808 wrote:
>> we want to deprecate Python 2 in oe-core and set Python 3 as the
>> default, preferred choice. What does this mean?
>
> What is the target to make  Python3 default, 2.2?

There is no specific target when the task is 'totally done', it's an 
ongoing activity that will span multiple releases. I plan to have the 
initial patchset merged into master in 2.2 cycle, but there's more work 
to be done when upstream components currently stuck in python 2 will 
finally more to python 3, and fixing up any loose ends, obscure 
regressions etc.

>> 1) Introducing new Python 2 dependencies via new recipes or additional
>> DEPENDS etc. in existing recipes will be discouraged: you'll have to
>> provide a reason.
>
> Will there be any kind of QA warning for these dependencies? this will
> help  scope how many recipes need to be looked at. there are a lot of
> layers out there.

I think there will not be. There are too many recipes in oe-core that 
are python 2 only (and even more outside of oe-core), and it's too much 
work to add warning suppressions to them all. Also, we don't want to 
force python 3 transition on anyone outside of oe-core, people can do it 
at their own pace and schedule.

>> 2) Bitbake itself is at the moment Python 2 only - which will be addressed.
>
> What will the env setup script display then?

This is a question for bitbake developers I guess, not me.

Alex


  reply	other threads:[~2016-04-27 12:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-25 12:22 moving OpenEmbedded-core to Python 3 Alexander Kanavin
2016-04-25 15:11 ` akuster808
2016-04-27 12:51   ` Alexander Kanavin [this message]
2016-04-29 20:43 ` Khem Raj
2016-05-02 10:14   ` Alexander Kanavin
2016-05-02 21:43     ` 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=5720B5EB.80309@linux.intel.com \
    --to=alexander.kanavin@linux.intel.com \
    --cc=openembedded-core@lists.openembedded.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox