installing zope with pip requires upgrading zope.interface version

Bug #928650 reported by Jeffrey Finkelstein
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zope 2
Won't Fix
Undecided
Unassigned

Bug Description

Zope2 version 2.13.12 on Ubuntu 11.10.

To reproduce:

    virtualenv env
    . env/bin/activate
    pip install Zope2
    mkzopeinterface foo

At this point, we get the following traceback:

Traceback (most recent call last):
  File "/mnt/data/src/kajiaso/testenv/bin/mkzopeinstance", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/mnt/data/src/kajiaso/testenv/local/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/pkg_resources.py", line 2713, in <module>
    parse_requirements(__requires__), Environment()
  File "/mnt/data/src/kajiaso/testenv/local/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/pkg_resources.py", line 588, in resolve
    raise VersionConflict(dist,req) # XXX put more info here
pkg_resources.VersionConflict: (zope.interface 3.6.1 (/usr/lib/python2.7/dist-packages), Requirement.parse('zope.interface>=3.8.0'))

As a workaround, just do

    pip install zope.interface --upgrade

Revision history for this message
Hanno Schlichting (hannosch) wrote :

Installing Zope2 via pip without using a known-good-set of versions isn't supported. Please see http://docs.zope.org/zope2/releases/2.13/INSTALL.html for valid installation instructions and note the use of a custom index for easy_install. Something similar might work for pip, though they have been reports in the past of some Zope packages being incompatible with pip.

Changed in zope2:
status: New → Won't Fix
Revision history for this message
sureshvv (sureshvv) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.