<div><div dir="auto"><br></div></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, May 20, 2019 at 7:58 AM Richard Purdie <<a href="mailto:richard.purdie@linuxfoundation.org">richard.purdie@linuxfoundation.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Mon, 2019-05-20 at 07:52 -0700, Khem Raj wrote:<br>
> On Sun, May 19, 2019 at 11:56 PM Alejandro Enedino Hernandez<br>
> Samaniego <<a href="mailto:alejandro.enedino.hernandez-samaniego@xilinx.com" target="_blank">alejandro.enedino.hernandez-samaniego@xilinx.com</a>> wrote:<br>
> > Hey Khem,<br>
> > <br>
> > <br>
> > On 5/18/19 10:09 PM, Khem Raj wrote:<br>
> > ><br>
> > ><br>
> > > On 5/17/19 4:49 PM, Alejandro Enedino Hernandez Samaniego wrote:<br>
> > >> Both python-numpy and python3-numpy try to install the file:<br>
> > >><br>
> > >> ${D}/${bindir}/f2py<br>
> > >><br>
> > >> which causes an error during do_rootfs since the package<br>
> > manager <br>
> > >> complains about that.<br>
> > >><br>
> > >> The numpy packages create basically copies of f2py script with<br>
> > the <br>
> > >> following names:<br>
> > >> f2py (on both)<br>
> > >> f2py2 (on python 2)<br>
> > >> f2py2.7 (on python 2)<br>
> > >> f2py3 (on python 3)<br>
> > >> f2py3.7 (on python 3)<br>
> > >><br>
> > >> Remove the copy of f2py from python-numpy in favor of using the<br>
> > one <br>
> > >> from python3<br>
> > >> to avoid installation issues at do_rootfs().<br>
> > >><br>
> > ><br>
> > > what if one does not install py3 ?<br>
> > <br>
> > <br>
> > If you only install py2, you could still execute f2py2 or f2py2.7,<br>
> > I'm <br>
> > simply<br>
> > <br>
> > favoring the py3 installation by default but it should be mostly<br>
> > harmless<br>
> > <br>
> > since there's still two other copies of the script with different<br>
> > names.<br>
> <br>
> I think it should be such that it’s used from py2 if py3 is not<br>
> installed since otherwise it might break scripts <br>
<br>
Given we're strongly favouring py3 now, I'd hope there aren't many such<br>
users and if there are, this might encourage them to move to py3? I'm<br>
not too worried about the lack of a py2 case for this as do we really<br>
want to add the complexity?<br>
<br>
If there are a load of py2 users and this will break things for them,<br>
fine but are there such users?</blockquote><div dir="auto"><br></div><div dir="auto">Yes I know people using py2 only but then they might not be using this utility specifically so it might be okay to ignore it for now </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
Cheers,<br>
<br>
Richard<br>
<br>
</blockquote></div></div>