[Grok-dev] Towards grok-1.1a2, Was: testing apps with grok-1.1a1

Kevin Teague kevin at bud.ca
Sun Dec 13 19:15:46 EST 2009

On Dec 13, 2009, at 1:11 PM, Jan-Wijbrand Kolman wrote:

> I tried to lift the zope.app.* dependencies from it but got stuck.
> I already was able to lift some of the imports from zope.app.component
> in favor of zope.location and zope.site. However, when I try to  
> replace:
>   from zope.app.component.hooks import getSite, setSite
> in favor of:
>   from zope.component.hooks import getSite, setSite
> the tests won't pass. This is probably easily solved, but I cannot  
> find
> it now. Maybe someone has an idea?

Now fixed in SVN.

I stumbled on this the other day, but the ZTK docs pointed the way:


zope.app.component imports should now come from zope.site, not  

More information about the Grok-dev mailing list