Bug 1161506

Summary: Update to 4.2.1 requires a newer python-zope-interface
Product: [Fedora] Fedora EPEL Reporter: Aurelien Bompard <aurelien>
Component: python-zope-componentAssignee: Ralph Bean <rbean>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: epel7CC: rbean, tdabasin
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-11 20:31:26 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:

Description Aurelien Bompard 2014-11-07 09:29:49 UTC
Description of problem:
The update to version 4.2.1 breaks on EL7 (it also breaks each package depending on zope.component), because it requires a newer version of python-zope-interface (at least 4.1.0).

Example on an EL system:

$ python -c "from zope import component"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/site-packages/zope/component/__init__.py", line 19, in <module>
    from zope.interface import named
ImportError: cannot import name named

The minimum requirements are listed in the python package's requirements:
$ grep zope.interface /usr/lib/python2.7/site-packages/zope.component-4.2.1-py2.7.egg-info/requires.txt
zope.interface>=4.1.0

Please update zope-interface or revert the update!

Version-Release number of selected component (if applicable):
python-zope-component-4.2.1-1.el7.noarch
python-zope-interface-4.0.5-4.el7.x86_64

How reproducible: always

Comment 1 Aurelien Bompard 2014-11-07 10:18:29 UTC
So, apparently zope.interface comes from EPEL, so we can't really update it. I went ahead and committed a change to zope.component that reverts it to version 4.1.0 in EPEL. Unfortunately, it requires to add an Epoch tag to allow the upgrade to happen.
I've also requested a scratch build that you can see here: http://koji.fedoraproject.org/koji/taskinfo?taskID=8061691
This build fixes my issue.

Since the change requires an epoch bump, I'll let you choose to go with it or do something else if you have a better idea.

Comment 2 Fedora Update System 2014-11-07 14:20:18 UTC
python-zope-component-4.1.0-1.el7 has been submitted as an update for Fedora EPEL 7.
https://admin.fedoraproject.org/updates/python-zope-component-4.1.0-1.el7

Comment 3 Fedora Update System 2014-11-24 21:18:02 UTC
python-zope-component-4.1.0-1.el7 has been pushed to the Fedora EPEL 7 stable repository.  If problems still persist, please make note of it in this bug report.