Bug 1278677 - python-debian unuseable on RHEL7 due to too old python-six
Summary: python-debian unuseable on RHEL7 due to too old python-six
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: python-debian
Version: epel7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Suchý
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-06 07:09 UTC by Jarek Polok
Modified: 2015-11-30 09:48 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-11-30 09:48:31 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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

python-debian 0.1.27 requires python-six >= 1.4 

(https://packages.debian.org/sid/python-debian)

however the rpm does not specify this.

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

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

0.1.27-2.el7

How reproducible:

execute:

# 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>
    @six.add_metaclass(_ClassInitMeta)
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 

Jarek

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 !

Jarek

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.


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