On Mon, Nov 04, 2019 at 02:33:32PM -0700, Ken Dreyer 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.
+1
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.
I fear there's some places using at least rhel7/python2. (we are for our
hubs actually).
I wonder if it would make sense to split the spec and such into 2?
a koji.spec (default) thats just python3 all around and a
koji-rhel7.spec that is python2 all around. Then for the Fedora/EPEL
packages we could at least use the python3 one for all Fedora's and
EPEL8 and the python2 one for EPEL7.
Which parts of Koji must support RHEL 6 (Python 2.6) in Koji's master branch?
Nothing in Fedora for a long time, but there might be people out there
that still need this? Perhaps it's worth moving it to just 'client
only'?
kevin