<div><br></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Nov 18, 2019 at 3:27 PM Khem Raj &lt;<a href="mailto:raj.khem@gmail.com">raj.khem@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Mon, Nov 18, 2019 at 2:55 PM Adrian Bunk &lt;<a href="mailto:bunk@stusta.de" target="_blank">bunk@stusta.de</a>&gt; wrote:<br>
&gt;<br>
&gt; On Mon, Nov 18, 2019 at 02:16:30PM -0800, Khem Raj wrote:<br>
&gt; &gt; On Mon, Nov 18, 2019 at 2:06 PM Adrian Bunk &lt;<a href="mailto:bunk@stusta.de" target="_blank">bunk@stusta.de</a>&gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt; &gt; On Mon, Nov 18, 2019 at 01:39:48PM -0800, Khem Raj wrote:<br>
&gt; &gt; &gt; &gt; On Mon, Nov 18, 2019 at 1:05 PM Adrian Bunk &lt;<a href="mailto:bunk@stusta.de" target="_blank">bunk@stusta.de</a>&gt; wrote:<br>
&gt; &gt; &gt; &gt; &gt; On Mon, Nov 18, 2019 at 10:13:05AM -0800, Khem Raj wrote:<br>
&gt; &gt; &gt; &gt; &gt; &gt; On Mon, Nov 18, 2019 at 5:08 AM Alexander Kanavin<br>
&gt; &gt; &gt; &gt; &gt; &gt; &lt;<a href="mailto:alex.kanavin@gmail.com" target="_blank">alex.kanavin@gmail.com</a>&gt; wrote:<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; Drop backports, rebase a couple of patches.<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; This is the second last release of py 2.x; upstream support ends on<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; 1 January 2020, there will be one final 2.x afterwards.<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; Note that the only thing that still needs python 2.x in oe-core is<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; u-boot; when the next u-boot update arrives, we should find out<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; where the py3 migration is for that component before merging the<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; update.<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; I guess u-boot need it during build, in that case defer it to user to<br>
&gt; &gt; &gt; &gt; &gt; &gt; have python2 on build host<br>
&gt; &gt; &gt; &gt; &gt; &gt; could be possible.<br>
&gt; &gt; &gt; &gt; &gt; &gt;...<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; That&#39;s a non-option since it could mean<br>
&gt; &gt; &gt; &gt; &gt; &quot;Yocto 3.1 cannot be built on Ubuntu 20.04&quot;.<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; Ubuntu 20.04 might end up still shipping Python2,[1]<br>
&gt; &gt; &gt; &gt; &gt; but you cannot rely on future distributions shipping it.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; And why should OE ship something that’s dropped by its own upstream and<br>
&gt; &gt; &gt; &gt; other distributions<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; All I am saying is that relying on the host Python2 is a non-option.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; If any layer needs a native Python2, this has to be shipped either in<br>
&gt; &gt; &gt; this layer or in a layer it depends on.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; We should explore disabling python support in uboot if it does not move to<br>
&gt; &gt; py3 perhaps there is a way like that having a single recipe require py2 is<br>
&gt; &gt; a bit too much<br>
&gt;<br>
&gt; In u-boot build scripts are using Python2.<br>
&gt;<br>
&gt; But this is being fixed upstream, so realistically in Yocto 3.1<br>
&gt; Python2 can move to meta-oe.<br>
<br>
No I do not want it in meta-oe, whoever needs it, should step up to<br>
maintain it and start a new layer<br>
much like meta-qt4<br>
</blockquote><div dir="auto"><br></div><div dir="auto">I have the beginnings of scripts to generate a meta-python2 layer. Someone with a vested interest in keeping python2 supported will need to step up to maintain it. After bitbake and Oe-core moved to python3, my use of python2 has gone to near zero.</div><div dir="auto"><br></div><div dir="auto">I intend to move all python2 recipes from meta-python to the new layer. meta-python will become python3 only in 3.1 release timeframe. The bb files and inc files will also be merged, simplifying AUH and devtool usage.</div><div dir="auto"><br></div><div dir="auto">Attempts to send python2 patches to meta-python after that shift will be nacked.</div><div dir="auto"><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
&gt;<br>
&gt; cu<br>
&gt; Adrian<br>
-- <br>
_______________________________________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org" target="_blank">Openembedded-core@lists.openembedded.org</a><br>
<a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/mailman/listinfo/openembedded-core</a><br>
</blockquote></div></div>