Bug 1393913

Summary: Request new EPEL packages
Product: [Fedora] Fedora Reporter: cqi
Component: python-gssapiAssignee: Simo Sorce <ssorce>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 27CC: rharwood, sross, ssorce
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-10-03 17:22:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description cqi 2016-11-10 15:30:36 UTC
Description of problem:

rpkg is moving to Python 3, python-krbV is now used but it does not support Python 3 and has no plan to move forward. So, python-krbV has been replaced with python-gssapi. rpkg has to support EPEL 6 and 7 users, unfortunately, there is no EPEL packages of python-gssapi. Could you please consider this and support EPEL?

Comment 1 Fedora End Of Life 2017-02-28 10:35:54 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle.
Changing version to '26'.

Comment 2 Robbie Harwood 2017-04-06 17:44:50 UTC
The high-level answer is: if you need it now, use `pip install` (even with solely system packages!) on EPEL and it'll work.

If you want an actual package for this, we can't build it "the right way" because rhel6's Cython is too old.  About the only thing we can do is pre-Cythonize on another machine and then package the result of that.  I feel like this violates some Fedora packaging guidelines, but I'm not actually sure.

More in depth answer follows:

python-gssapi relies on Cython, and upstream really wants Cython >= 0.21.1.  RHEL 7 only has the 0.19 series, so downstream there's a patch around some (thankfully harmless here) bugs in the way that handles integral types.  Upstream is neither interested in this patch nor desires to support older versions of Cython.

epel6 has Cython 0.14.1.  This version of Cython is even older, and doesn't work right.  In particular, it has no support for generators, which breaks four uses of generators.  What nails this particular coffin closed is whatever's going on with oids.pyx (Cython throws a lengthy traceback somewhere in its parser).  It also doesn't like `const`, but that's still workable.

However, other than the old version of Cython, we do work properly on rhel6.  By which I mean: if you `virtualenv --system-site-packages` and then `pip install gssapi`, you get what I believe to be a working python-gssapi.  This is because we at one point did have python-2.6 CI gating against krb5-1.10 for almost entirely unrelated reasons.  Unfortunately we were installing Cython from pip at that point in time (probably because 0.14 is not a good version).

Comment 3 Jan Kurik 2017-08-15 08:36:32 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 27 development cycle.
Changing version to '27'.