Bugzilla (bugzilla.redhat.com) will be under maintenance for infrastructure upgrades and will not be available on July 31st between 12:30 AM - 05:30 AM UTC. We appreciate your understanding and patience. You can follow status.redhat.com for details.
Bug 973379 - wrong python-kerberos version specified in egg-info
Summary: wrong python-kerberos version specified in egg-info
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: python-kerberos
Version: 6.4
Hardware: Unspecified
OS: All
Target Milestone: rc
: ---
Assignee: Rob Crittenden
QA Contact: Namita Soman
Depends On:
Blocks: 975202 1061410 1112374
TreeView+ depends on / blocked
Reported: 2013-06-11 19:35 UTC by John A. Barbuto
Modified: 2014-10-14 08:27 UTC (History)
2 users (show)

Fixed In Version: python-kerberos-1.1-7.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 975202 1112374 (view as bug list)
Last Closed: 2014-10-14 08:27:29 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:1600 0 normal SHIPPED_LIVE python-kerberos bug fix update 2014-10-14 01:39:43 UTC

Description John A. Barbuto 2013-06-11 19:35:43 UTC
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
$ rpm -ql python-kerberos | head -n 1
$ 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):


How reproducible:

Every time.

Steps to Reproduce:

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

Actual results:


Expected results:


Comment 6 Kaleem 2014-06-30 13:11:00 UTC

rpm version:
[root@rhel66-master ~]# rpm -q python-kerberos
[root@rhel66-master ~]#

Verification steps and console output:
[root@rhel66-master ~]# rpm -q python-kerberos
[root@rhel66-master ~]# rpm -ql python-kerberos|head -n 1
[root@rhel66-master ~]# python
Python 2.6.6 (r266:84292, Nov 21 2013, 10:50:32) 
[GCC 4.4.7 20120313 (Red Hat 4.4.7-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pkg_resources
>>> pkg_resources.require('kerberos >= 1.1')
[kerberos 1.1 (/usr/lib64/python2.6/site-packages)]

Comment 7 errata-xmlrpc 2014-10-14 08:27:29 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.


Note You need to log in before you can comment on or make changes to this bug.