We can add a 'versions' section in buildout.cfg to indicate the version of used recipes.
ie: buildout.cfg for myProject-1.0
This way, buildout will use plone.recipe.zope2install version 0.2 and plone.recipe.zope2instance version 0.8. For other stuff like setuptools it will "pick" the best distribution. We can tell buildout to generate an error when it "Picks" a version:
ie: buildout.cfg for myProject-1.0
[buildout]
parts =
zope2
instance
versions = myProject-1.0
[myProject-1.0]
plone.recipe.zope2install = 0.2
plone.recipe.zope2instance = 0.8
[zope2]
recipe = plone.recipe.zope2install
url = http://www.zope.org/Products/Zope/2.9.7/Zope-2.9.7-final.tgz
[instance]
recipe = plone.recipe.zope2instance
zope2-location = ${zope2:location}
user = admin:admin
debug-mode = off
zodb-cache-size = 70000
This way, buildout will use plone.recipe.zope2install version 0.2 and plone.recipe.zope2instance version 0.8. For other stuff like setuptools it will "pick" the best distribution. We can tell buildout to generate an error when it "Picks" a version:
[buildout]
parts =
zope2
instance
versions = myProject-1.0
allow-picked-versions = false
[myProject-1.0]
plone.recipe.zope2install = 0.2
plone.recipe.zope2instance = 0.8
[zope2]
recipe = plone.recipe.zope2install
url = http://www.zope.org/Products/Zope/2.9.7/Zope-2.9.7-final.tgz
[instance]
recipe = plone.recipe.zope2instance
zope2-location = ${zope2:location}
user = admin:admin
debug-mode = off
zodb-cache-size = 70000