[Zope-dev] z3c.form 2.0

Laurent Mignon laurent.mignon at softwareag.com
Tue Feb 10 14:00:39 EST 2009


Daniel Nouri wrote:
> Laurent Mignon <laurent.mignon at softwareag.com> writes:
> 
>> Stephan Richter wrote:
>>> On Tuesday 10 February 2009, Laurent Mignon wrote:
>>>> With the replacement of zope.app.component import with zope.site, it's
>>>> no more possible to use z3c.form with Zope2 / Plone :-(
>>> Thanks for getting our attention on this. I consider this a show-stopper for 
>>> 2.0. Dan, let's think about something creative that allows us to use the new 
>>> and old way, maybe through a special import statement like that:
>>>
>>> try:
>>>   import zope.site
>>> except ImportError:
>>>   import zope.container
>>>
>>> or something like that.
>>>
>>> Regards,
>>> Stephan
>> Thanks also for your attention, the problem was in my buildout 
>> configuration as suggested by 'Dan Korostelev'
>>
>> Adding the following lines to my buildout solves the problem:
>>
>> additional-fake-eggs =
>>      zope.schema = 3.4.0
>>      zope.location = 3.4.0
>>      ZODB3 = 3.8.1
> 
> It would be nice if we could move these to an extends= file, so that
> people don't have to maintain this list in their own buildouts.
> 
> 
More generically, I think it would be nice if the 
plone.recipe.zope2instance use the KGS used to build the zope2 distrib 
to directly specify the good version during the fake-zope-eggs process.



More information about the Zope-Dev mailing list