How to copy a recipe egg version for a specific piece

I added a section in my buildout to install python-ldap, as described here:

http://bluedynamics.com/articles/jens/python-ldap-as-egg-with-buildout

However, my build failed:

While: Initializing. Getting section buildout. Initializing section buildout. Getting option buildout:eggs. Getting section python-ldap. Initializing section python-ldap. Installing recipe zc.recipe.egg. Error: There is a version conflict. We already have: zc.buildout 1.4.2 but zc.recipe.egg 1.3.2 requires 'zc.buildout>=1.5.0'. 

Why is buildout trying to get the latest version of zc.recipe.egg for this particular part, even if it is fixed in 1.2.2 in para versions?

+4
source share
2 answers

I had exactly the same problem and I decided to remove it by uninstalling the Debian python-zc.buildout package that was installed on my computer with version 1.4.3.

+1
source

You can bind all the eggs (no matter what they are used for) with the versions section. You should explicitly declare such a section, but then it applies to the eggs of the recipe:

 [buildout] ... # Other options in the buildout section omitted versions = versions [versions] zc.recipe.egg = 1.2.2 

You can name the part that points to the version links as you want, but most people simply call its versions .

+3
source

All Articles