[Distutils] buildout pinning versions and egg requires

Jeff Kunce jjkunce at gmail.com
Wed Jan 12 23:33:44 CET 2011


Hi -

I'm having trouble pinning versions in my buildout.  It looks like
"requires.txt" for the recipe eggs are overriding what I specify in
versions.cfg.

Here's the scenario:

  1)  I am pinning my buildout with a versions.cfg file that specifies
    zope2 = 2.13.0
  2) One of my parts is based on
    recipe = plone.recipe.zope2instance
  3) The plone.recipe.zope2instance egg has a requires.txt file containing
    Zope2 >= 2.12.1

Here's what happens:

When I run buildout, it looks the recipe eggs are downloaded first, along
with eggs specified in the requires.txt for each egg.  So, buildout gets
Zope2 2.13.1 (>=2.12.1) for plone.recipe.zope2instance without looking at
what I specified for versions.

How can I make sure I only get Zope 2.13.0 ?  An excerpt of my buildout.cfg
is below.  Thanks.

  -- Jeff

[buildout]
...
extends = versions.cfg
versions = versions
...
parts = mydeps zeo inst1 inst2 inst3 inst4 myproducts siteconfig

[mydeps]
...
[inst1]
recipe = plone.recipe.zope2instance
zeo-client = true
...
[inst2]
...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20110112/3694e60e/attachment.html>


More information about the Distutils-SIG mailing list