[Grok-dev] Re: zope.session and zope.i18nmessageid incompatibility?
Philipp von Weitershausen
philipp at weitershausen.de
Fri Apr 18 06:32:04 EDT 2008
Martijn Faassen wrote:
> Douglas Cerna wrote:
>> I'm trying to use the z3c.language.* packages, and find out that
>> zope.session 3.4.1 throws this:
>> ImportError: cannot import name ZopeMessageFactory
>> Apparently line 21 in zope.session.interfaces tries to import it from
>> zope.i18nmessageid, but ZopeMessageFactory is not there in
>> zope.i18nmessagid 3.4..0a1. It is in zope.i18nmessageid 3.4.3 (latest
>> in PyPi) though.
> Thanks for this report and the analysis!
Actually, the incompatibility arises because zope.session requires
zope.i18nmessageid >= 3.4.3 (it won't work with an older one) but
completely fails to declare so in its setup.py (there, it says it
required zope.i18nmessageid, but without any lower version constraint).
So there's actually a bug in zope.session here.
More information about the Grok-dev