On Fri, 11 May 2018, Arnaldo Carvalho de Melo wrote:
Em Fri, May 11, 2018 at 02:50:21PM +0100, John Kacur escreveu:
>
>
> On Thu, 10 May 2018, Arnaldo Carvalho de Melo wrote:
>
> > Em Wed, May 09, 2018 at 11:18:57AM +0100, John Kacur escreveu:
> > > explicitly use python3 in the shebangs
> >
> > I beg your pardon, is this a _requirement_? Will the end result mean
> > tuna will not anymore run on a python2 only system?
> For now this is in a python3 branch, and I am not asking it be
> integrated into upstream tuna, I'm just sharing it with everyone.
> However, Fedora is now a python3 by default system, and RedHat 8
> requires /usr/bin/python3
> We have limited resources so, I envision for the future that we will use
> python3 by default. People can still use an older version if they require
> tuna for python2 distributions.
> After a period of making python3 correctly, we could start to take patches
> that make the same code work correctly for both python3 and python2, but
> my focus now is python3.
I'd do it differently, but you're the one doing the work :-)
And in the end you haven't answered my question, is this strictly
needed? I'm talking about just this single patch :-)
I'm not saying we should do a lot of work to make it work with python2,
I'm just curious if that is the case.
Explicitly refering to python3 in the shebang is a RHEL8 requirement
We don't have to do it in our upstream repo, but doing so at some
point might save us some maintenance headaches.
John