setup_requires bypasses buildout

Bug #257555 reported by Wichert Akkerman on 2008-08-13
This bug affects 10 people
Affects Status Importance Assigned to Milestone

Bug Description

If a package you install (in my case as develop egg) uses setup_requires setuptools tries to install the requirements listed there directly. This bypasses all of buildout, which means it can use the wrong indexes and ignores version pins. I noticed this because the result was a version conflict.

sureshvv (sureshvv) wrote :

On the Mac, the egg for the package indicated in setup_requires is installed in the same directory as the package being developed. Does not happen on Linux. Is this by design?

bbinet (binet-bruno) wrote :

This is a setuptools/distribute issue. This has been reported on distribute issue tracker, and a patch is available.


Hope it will be merged soon.

bbinet (binet-bruno) wrote :
bbinet (binet-bruno) wrote :

In fact, this bug affect both distribute and zc.buildout.
As said in my previous comment, the distribute bug is already addressed in: (but not merged yet).

On zc.buildout side, I've just uploaded a fix in "patch_257555.diff". Note that this patch has been created from zc.buildout v1.5.2.

What do you think about this patch?

Tres Seaver (tseaver) wrote :

The patch looks right to me.

Tres Seaver (tseaver) wrote :

I don't see now how the patch will fix the 'setup_requires' issue: it passes along only the 'allow_hosts' and 'index_url' settings as command-line flags.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers