yum icon indicating copy to clipboard operation
yum copied to clipboard

Avoiding compatibility errors with python 3

Open LorenzoSacchi opened this issue 5 years ago • 3 comments

I know that yum will be deprecated, so no python 3 support is expected. The best thing to do would be to change all scripts from #!/usr/bin/python to #!/usr/bin/python2.7 This would give people freedom to choose default version of python without errors

LorenzoSacchi avatar May 19 '20 16:05 LorenzoSacchi

Even centos:5 has /usr/bin/python2 ... so I guess it's fine to change them to that at this point, when it's obvious /usr/bin/python is going to be one more casualty of py3, if you want to do a patch.

james-antill avatar May 19 '20 21:05 james-antill

The problem is that there is no possibility how to release the patch.

j-mracek avatar May 20 '20 12:05 j-mracek

I assumed this was more for random people who wanted to use the code from git, or build their own packages. I'm fine with just rejecting everything if you want someone to fork it somewhere else, if they care enough ... but I figured this was easy enough to validate we could merge it without any real work.

james-antill avatar May 20 '20 17:05 james-antill