[OE-core] [PATCH 6/6] waf: python2 -> python3
liezhi.yang at windriver.com
Fri Jul 12 10:34:48 UTC 2019
On 7/11/19 6:46 PM, Burton, Ross wrote:
> On Thu, 11 Jul 2019 at 11:26, Burton, Ross <ross.burton at intel.com> wrote:
>> On Thu, 11 Jul 2019 at 03:59, Robert Yang <liezhi.yang at windriver.com> wrote:
>>> On 6/28/19 8:15 PM, Burton, Ross wrote:
>>>> Did you just do the minimum required, or take a new copy of waf from upstream?
>>> I checked the one from upstream, it is still python2. The waf is the only one
>>> which still requires python2 in oe-core. We can get rid of python2 after this
>>> patch, what's your opinion, please?
>> If that's the case then YES YES YES. :)
> Follow-up: do you mean remove python2 from HOSTTOOLS, or the recipe
> from oe-core?
> $ bitbake -g world
> $ grep -- '-> "python"' recipe-depends.dot
> "kernel-devsrc" -> "python"
> "ltp" -> "python"
> "meta-world-pkgdata" -> "python"
> "packagegroup-core-tools-profile" -> "python"
> "packagegroup-core-tools-testapps" -> "python"
> "packagegroup-self-hosted" -> "python"
> "perf" -> "python"
> "python-nose" -> "python"
> "python-numpy" -> "python"
> "python-scons" -> "python"
> "python-setuptools" -> "python"
> Nothing depends on the python-* in core, we can ignore the
> packagegroups, so that leaves kernel-devsrc, ltp, and perf. Also
> u-boot uses nativepython.
> HOSTTOOLS is more complicated and there's still plenty of pieces that
> use host python. I've an old poky-contrib:ross/nopy2 branch that
> fixes a few more users of host python2 that needs rebasing and
I meant remove python2 from HOSTTOOLS, but it seems not easy to do atm, so maybe
we still need keep it for many years. I have this idea is because host such as
Redhat Linux 8 doesn't install python2 by default any more.
More information about the Openembedded-core