[Maas-devel] Stop the line: tests horribly broken on quantal
Raphaël Badin
raphael.badin at canonical.com
Fri Sep 21 09:52:35 UTC 2012
> There's two errors remaining, both apidoc problems. I suspect Gavin will have
> better insight into those than me.
>
I've tracked down the remaining errors. They are important because the
uri of the API methods can't be computed and the CLI relies on this.
The problem is an incompatibility between the version of piston in
quantal and Django 1.4: a method in Django changed its signature and
piston does not deal well with that.
The issue in piston's bug tracker:
https://bitbucket.org/jespern/django-piston/issue/218/get_resource_uri_template-broken-in-django
The changeset in Djano which introduces this incompatibility (git show
fe962149):
https://github.com/django/django/commit/fe96214939b76d1e7389b1c569d833e96e3a5074
A proper fix means fixing piston itself (a very simple patch could be as
simple as doing http://paste.ubuntu.com/1218370/ in piston) but we can
create a monkey patch in MAAS to get us going quickly.
R.
More information about the Maas-devel
mailing list