On Mon, Nov 4, 2019 at 4:33 PM Ken Dreyer <ktdreyer(a)ktdreyer.com> wrote:
Hi folks,
All the scripts in
https://pagure.io/koji have #!/usr/bin/python2.
There is some code in the Makefiles and koji.spec file that transforms
some (or all?) of these lines to #!/usr/bin/python3.
I would like to reverse this and make #!/usr/bin/python3 the default.
While I am working on this code, I see there are a lot of conditionals
in koji.spec and the Makefiles that have built up over time. It would
be great to drop python2 entirely so that it's easier to read the code
and contribute.
Which parts of Koji must support RHEL 6 (Python 2.6) in Koji's master branch?
Wouldn't it be easier to just use #!/usr/bin/python and just sed it
either way to Py2 or Py3? That's what I do for Pagure and a few other
projects...
--
真実はいつも一つ!/ Always, there's only one truth!