Bug 1278677

Summary: python-debian unuseable on RHEL7 due to too old python-six
Product: [Fedora] Fedora EPEL Reporter: Jarek Polok <jaroslaw.polok>
Component: python-debianAssignee: Miroslav Suchý <msuchy>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel7CC: av_zubarev, bugzilla, jfrodriguez, msuchy
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-30 09:48:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Jarek Polok 2015-11-06 07:09:44 UTC
Description of problem:

python-debian 0.1.27 requires python-six >= 1.4 


however the rpm does not specify this.

On RHEL7 python-six version is 1.3.0 .. to old for python-debian to function

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


How reproducible:


# python -c "from debian import deb822"

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/site-packages/debian/deb822.py", line 1481, in <module>
AttributeError: 'module' object has no attribute 'add_metaclass'

Since python-six is system-provided on RHEL7 I believe for now the only workaround allowing to fix the problem would be to downgrade EPEL7 python-debian to version: 0.1.21-10.el7 (the 0.1.26 is also affected by same problem)
.. at least until RH decides to upgrade python-six on RHEL7 ..

Thanks for considering 


Comment 1 Miroslav Suchý 2015-11-06 07:31:20 UTC
Ah. Sorry.
However in RHEL7 there should be python-six-1.9.0-2.el7 and rhel 7.2 should be released soon.

Comment 2 Jarek Polok 2015-11-06 08:02:28 UTC
Indeed, 7.2 will have python-six 1.9 - so I guess we can just wait for the release
to happen.

Thanks !


Comment 3 Miroslav Suchý 2015-11-30 09:48:31 UTC
rhel 7.2 is out with newer python-six.
Therefore I'm closing this bug.