On Tue, Sep 13, 2011 at 6:43 AM, Jonathan Lange <j...@canonical.com> wrote: > Hello, > > I was just trying to move some code from lp:udd to > lp:lazr.restfulclient where it would be helpful to more people. > > After pulling a fresh copy of lazr.restfulclient, I had a look at the > HACKING document. It doesn't actually say how to run the tests[1]. > Since it looked like a buildout project, I tried the "bootstrap; > buildout" approach, and that got me somewhere, except that buildout > doesn't work[2].
It would appear to be a result of using Launchpad to host the lazr.restfulclient downloads. The LP download page is batched and setuptools/distribute don't spider the target of the PyPI "Download URL" link (thank goodness). The 0.16.0 release was pushed off the first page of downloads so it is no longer available. In the short run I will set lazr.restfulclient to use a newer lazr.restful. In the long run we should change the way downloads are presented if we want people to use LP to host Python packages. Otherwise we should move the lazr package downloads to PyPI. > Once I figured out how to get past that, and buildout ran > successfully, I tried running the tests. They failed[3]. Using a clean Python (i.e., non-system, no installed packages) or a virtualenv will solve the above problem. This is generally the way buildout should be used unless the system packages are closely managed as part of the development environment. I'll add comments to this effect to the HACKING document. > [1] https://bugs.launchpad.net/lazr.restfulclient/+bug/848826 > [2] https://bugs.launchpad.net/lazr.restfulclient/+bug/848827 > [3] https://bugs.launchpad.net/lazr.restfulclient/+bug/848831 I've replied to the above bugs with comments similar to those in this message. -- Benji York _______________________________________________ Mailing list: https://launchpad.net/~launchpad-dev Post to : launchpad-dev@lists.launchpad.net Unsubscribe : https://launchpad.net/~launchpad-dev More help : https://help.launchpad.net/ListHelp