Greetings.
I was wondering when the next upstream release is planned?
It's been a while, and at least in Fedora we have a flag day coming up
on 2016-12-12. For this flag day we would really like gssapi support
for koji
https://pagure.io/koji/c/480cdfb540c0468f87337cee2ba625095c447ffd?branch=ma…
(and several additional cleanups)
Also, since it's been so long since a release (over a year now), I'd
humbly suggest releasing a 1.10.90 RC type release for some testing and
checking and if everything looks good then do a 1.11 or whatever.
I'd be happy to test in the Fedora staging env.
kevin
This has been a side project of mine for a little bit.
https://github.com/mikem23/koji-playground/tree/use-requests-2
It started out as part of the work on porting to py3, but with all the
pain we've had with the old ssl code path, it seemed desirable to deal
with this separately.
This isn't quite ready for a PR yet, but the code is working for me,
even on RHEL-5 (though I definitely need to test more there). I could
really use some feedback.
To deal with backwards compatibility, I wrote a very basic
"requests-like" shim that handles requests via the old code. The client
uses requests by default if it is available and falls back to the shim
if not. You can force the fallback with the use_old_ssl option.
One of the challenges of using requests is that it (correctly) stricter
about certificates. At the moment, I'm suppressing warnings from
urllib3. It warns (loudly) if verify is turned off (currently only
possible via the no_ssl_verify session option). It also warns if the
server ca lacks subjectAltName.
At the moment, the new codepath verifies by default, which is new
behavior. The serverca option is now passed into the session at
creation, not just during ssl login. Some folks may find that
connections fail with a cert error. They should either ensure that
serverca is set, or that their ca is trusted by their system.
Since this is a client change, it is easy to test out directly from a
git clone. Many of you probably know how to do this, but just in case....
$ git clone https://github.com/mikem23/koji-playground.git -b use-requests-2
$ cd koji-playground/
$ PYTHONPATH=. cli/koji hello
(just use the -p option if you need to use a different profile. e.g.
brew, cbs, koji-ppc)