Bug 1161506 - Update to 4.2.1 requires a newer python-zope-interface
Summary: Update to 4.2.1 requires a newer python-zope-interface
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: python-zope-component
Version: epel7
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Ralph Bean
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-11-07 09:29 UTC by Aurelien Bompard
Modified: 2015-02-11 20:31 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-02-11 20:31:26 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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