launchpad-dev team mailing list archive
-
launchpad-dev team
-
Mailing list archive
-
Message #09194
Re: Please release lazr.restfulclient
On Sat, Mar 31, 2012 at 2:13 AM, Gary Poster <gary.poster@xxxxxxxxxxxxx> wrote:
> FWIW, I started looking at this today, but didn't get to the end.
> versions.cfg needed to be updated--looks like a few older packages are no
> longer provided, which is a bit disturbing in the big picture but irrelevant
> here, once we adjust.
>
> === modified file 'versions.cfg'
> --- versions.cfg 2011-09-13 12:45:21 +0000
> +++ versions.cfg 2012-03-30 19:06:15 +0000
> @@ -17,7 +17,7 @@
> elementtree = 1.2.7-20070827-preview
> epydoc = 3.0.1
> grokcore.component = 1.6
> -httplib2 = 0.6.0
> +httplib2 = 0.7.4
> lazr.authentication = 0.1.2
> lazr.batchnavigator = 1.2.0
> lazr.delegates = 1.2.0
> @@ -30,7 +30,7 @@
> oauth = 1.0.1
> pytz = 2010o
> setuptools = 0.6c11
> -simplejson = 2.2.1
> +simplejson = 2.5.0
> testtools = 0.9.11
> transaction = 1.0.0
> van.testing = 3.0.0
>
> I then tried running tests. I used a system py 2.7 and a custom built py
> 2.7, and in both cases I got failures in tests in the
> lazr.restful.example.base.tests.test_integration.WSGILayer that
> cookbooks.dev was unavailable. How did you get the tests to pass? (I'm
> also mildly curious as to how you got it to build without those version
> changes, which might be relevant.)
I distinctly remember applying the httplib2 version change. I don't
explicitly recall the simplejson version change but I might have done
it and forgotten.
I think I excluded those things from the patch because they were not
intrinsically related and that it was entirely possible you maintained
those versions in some buildout archive that I had no access to.
I have no idea about the 'cookbooks.dev' error. I don't recall ever seeing it.
I developed this patch using the methods described on
https://dev.launchpad.net/HackingLazrLibraries, fudging things where
the wiki page was wrong or incomplete. (Specifically, buildout.cfg for
lazr.restfulclient did not have a download-cache field set). I ran the
tests with ./bin/test.
jml
Follow ups
References