[ckan-dev] pylons/webob issue

David Read david.read at okfn.org
Fri Jul 8 11:22:51 UTC 2011


This question is for James really with his Pylons knowledge, but I'd
appreciate thoughts from others with experience in the wider open
source world.

The latest version of WebOb seems to be incompatible with Pylons
0.9.7. It's just a minor thing but it has broken buildbot - pylons
0.9.7 imports the class Multidict from webob and Multidict has moved
to webob.multidict. For a while there has been an import of Multidict
into webob itself as well to cope with pylons 0.9.7, but this has just
been removed.

What's the best way to solve this in the short term? Options:

1) Ask the WebOb maintainer to put back the extra import of MultiDict
into webob and continue support of Pylons 0.9.7
2) Fork Pylons 0.9.7 and force it to use the old version of WebOb
3) Fork Pylons 0.9.7 and fix the import of Multidict from WebOb
4) Upgrade to Pylons 1.0 (a fair number of small changes required)

Background:
WebOb has a new maintainer Sergey Schetinin and has been releasing new
versions in the past couple of weeks that have been changing behaviour
subtley and caused a couple of buildbot failures in the past week
already. Today he pushed out version 1.1beta1, which buildbot uses
straight away because Pylons specifies in its setup.py "Web>=0.9.6.1".

David




More information about the ckan-dev mailing list