Bug 1112374

Summary: wrong python-kerberos version specified in egg-info
Product: Red Hat Enterprise Linux 7 Reporter: Rob Crittenden <rcritten>
Component: python-kerberosAssignee: Rob Crittenden <rcritten>
Status: CLOSED CURRENTRELEASE QA Contact: Namita Soman <nsoman>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 7.0CC: jbarbuto, mkosek
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: All   
Whiteboard:
Fixed In Version: python-kerberos-1.1-13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 973379 Environment:
Last Closed: 2014-09-08 13:30:02 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:
Embargoed:
Bug Depends On: 973379    
Bug Blocks: 975202, 1061410    

Description Rob Crittenden 2014-06-23 18:50:16 UTC
+++ This bug was initially created as a clone of Bug #973379 +++

Description of problem:

Although the packaged python-kerberos version is 1.1, according to its egg-info it's 1.0.  This prevents module dependency resolution from working properly.

$ rpm -q python-kerberos
python-kerberos-1.1-6.2.el6.x86_64
$ rpm -ql python-kerberos | head -n 1
/usr/lib64/python2.6/site-packages/kerberos-1.0-py2.6.egg-info
$ python
>>> import pkg_resources
>>> pkg_resources.require('kerberos >= 1.1')
Traceback (most recent call last):
  File "<console>", line 1, in <module>
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 648, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 550, in resolve
    raise VersionConflict(dist,req) # XXX put more info here
VersionConflict: (kerberos 1.0 (/usr/lib64/python2.6/site-packages), Requirement.parse('kerberos>=1.1'))

Version-Release number of selected component (if applicable):

python-kerberos-1.1-6.2.el6.x86_64

How reproducible:

Every time.

Steps to Reproduce:

$ python
>>> import pkg_resources
>>> pkg_resources.get_distribution('kerberos').version

Actual results:

'1.0'

Expected results:

'1.1'

--- Additional comment from RHEL Product and Program Management on 2013-06-11 15:41:38 EDT ---

Since this bug report was entered in bugzilla and this package is
not scheduled to be updated in the current release, the release
flag has been set to ? to ensure that it is properly evaluated
for the next release.

--- Additional comment from Martin Kosek on 2013-08-09 08:12:05 EDT ---

Rob, is python-kerberos on 6.5 list of accepted packages? I see that pm_ack was not put to +. Maybe you need to contact 6.5 PM directly to give the ack.

--- Additional comment from Tom Lavigne on 2014-02-13 16:11:10 EST ---

Since the release flag was set to ? after the qa_ack and devel_ack flags were set to + (was likely set for the previous release), the qa_ack and devel_ack flags have been reset to ? by the bugbot (pm-rhel). This action ensures the proper review by Product Management.

--- Additional comment from Rob Crittenden on 2014-02-13 16:59:16 EST ---

This is a one-liner, trivial patch.

Comment 1 Rob Crittenden 2014-09-08 13:30:02 UTC
The Fedora build that was used for the RHEL 7.0 release already contained this fix.

This is available now in python-kerberos-1.1-13.

Removing RHEL 7.1 flags.