[Grok-dev] Re: override grok version setting

Philipp von Weitershausen philipp at weitershausen.de
Sun Jul 20 06:00:22 EDT 2008

Michael Haubenwallner wrote:
> i need zope.publisher >= 3.5.0 in one of my packages. grok fixes the 
> version to at most 3.4.2
> any idea how to override the grok version setting in my package setup.py ?

You can specify the lower-bound version in your application's setup.py:

                     'zope.publisher >= 3.5.0',

In your buildout configuration, however, you'll have to pin to a 
particular version. If you're referring to a remote version.cfg or if 
you'd rather not change the version.cfg that was downloaded according to 
a particular Grok release, you can override the setting in buildout.cfg:

   extends = .../version.cfg
   versions = versions

   # add this:
   zope.publisher = 3.5.3

More information about the Grok-dev mailing list