On 15 June 2013 07:28, Thomas Goirand <zigo at debian.org> wrote: > Hi everyone! > > It'd be nice if "python setup clean" was never doing some pip install. As Monty says this is happening because a setup-requires dependency is not satisfied. > Because if it does, then this breaks my cowbuilder (eg: the tool which I > use in Jenkins to build my Debian packages in a minimal, clean, chroot). > Here is a good example of a bad thing that can happen: > https://debian.pkgs.enovance.com/job/python-keystoneclient/12/console > What happens is that, before downloading the build-dependencies, > git-buildpackage calls clean (that's the way it works), it then calls > "python setup.py clean -a", which then does the wrong thing. if git-buildpackage doesn't install the build-dependencies first, it's a bug http://www.debian.org/doc/debian-policy/ch-relationships.html#s-sourcebinarydeps. Perhaps you have the setup_requires build-dependencies for the package listed as b-d-i rather than b-d ? -Rob -- Robert Collins <rbtcollins at hp.com> Distinguished Technologist HP Cloud Services