site-packages eggs are preferred over newer distributions

Bug #623590 reported by Barry Warsaw on 2010-08-24
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Gary Poster

Bug Description

Using the lp:mailman branch, this fails when the python-zc.buildout package is installed (i.e. buildout installed into your system Python):

% python
% bin/buildout

Error: There is a version conflict.
We already have: zc.buildout 1.4.3
but zc.recipe.egg 1.3.2 requires 'zc.buildout>=1.5.0'.

Removing the package allows the buildout to succeed.

Gary Poster (gary) on 2010-08-24
Changed in zc.buildout:
assignee: nobody → Gary Poster (gary)
Gary Poster (gary) wrote :

I was able to dupe and investigate.

zc.buildout itself is fine. The z3c.recipe.sphinxdoc and z3c.recipe.tag recipes need to be upgraded to use the new system-Python friendly script generation, and then the mailman build should be fine. I'll see if I can get that recipe upgraded for you, but for now, removing those parts from your buildout.cfg makes it work for me.

Changed in zc.buildout:
status: New → Invalid
Gary Poster (gary) wrote :

I was right and wrong.

Generally, yes, you will need updated recipes in order to use a system Python (I have z3c.recipe.tag about ready for commit/release). Once you have them, your buildout will be fine, irrespective of any fixes to zc.buildout.

However, what you encountered did in fact indicate a buildout bug that might be encountered in other, supported circumstances. I am committing a test and patch. I'll release a new version today or tomorrow (I have one other zc.buildout change to make that I know of).

Changed in zc.buildout:
status: Invalid → Fix Committed
importance: Undecided → High
summary: - buildout fails on Ubuntu when python-zc.buildout package is installed
+ site-packages eggs are preferred over newer distributions
Gary Poster (gary) wrote :


Gary Poster (gary) wrote :

zc.buildout 1.5.1

Changed in zc.buildout:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers