Red Hat Bugzilla – Bug 1278677
python-debian unuseable on RHEL7 due to too old python-six
Last modified: 2015-11-30 04:48:31 EST
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):
# 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
However in RHEL7 there should be python-six-1.9.0-2.el7 and rhel 7.2 should be released soon.
Indeed, 7.2 will have python-six 1.9 - so I guess we can just wait for the release
rhel 7.2 is out with newer python-six.
Therefore I'm closing this bug.