So, here we come with another python2 revamp. Now I don't need to retain 2.4 compatibility, so six library was used. Client is working in many cases, though I've not tested all of them yet. If you can look to it and try your usecases, I would be glad.
I've all python3 branch https://pagure.io/fork/tkopecek/koji/branch/python3-cli2 from which I've branched and picked only CLI+client relevant pieces to not have such enormous PR at once. As result of removing, there is one not nice commit removing these changes. If you want to have most of tests passing, you can use that branch. Otherwise run tests selectively, as here most builder/hub/web tests can't pass yet.
krbV support is not there - anyway gssapi should solve all the problems - works for me with Fedora
urlgrabber not avaiable in python3 variant - substituted with pycurl and uglier progress bar
So, here we come with another python2 revamp. Now I don't need to retain 2.4 compatibility, so
sixlibrary was used. Client is working in many cases, though I've not tested all of them yet. If you can look to it and try your usecases, I would be glad.