Closed GoogleCodeExporter closed 9 years ago
This patch will make couchdb-python package broken for pure 2.4 and 2.5 python
installations which are announced as supported. If things are going in this
way, so may be refactoring whole project is better to use all features of
python 2.6 instead of removing one dependency?
Original comment by kxepal
on 14 Mar 2011 at 8:29
Yeah, I wouldn't want to take it like this. On the other hand, we can try to
detect a cjson installation and not require simplejson if cjson is installed.
Original comment by djc.ochtman
on 14 Mar 2011 at 8:37
Package will not be broken. It will install nice and the some sub-components
will even working (I use `couchdb.mapping` as wrapper for MongoDB objects which
requirs no json library at all).
We can refactor `couchdb.json` module to perform more smart library discovery
and helpful error message if no one is available.
Original comment by daevaorn
on 14 Mar 2011 at 8:52
I think the expectation should still be that major functionality like the stuff
in the client module also works when couchdb-python is installed, so there
should at least be some JSON available, whether it's stdlib json, simplejson or
cjson. I'm not sure why you're so keen on getting the dependency removed, but
we're not going to take your patch as-is.
Original comment by djc.ochtman
on 14 Mar 2011 at 9:04
Closing as invalid.
Original comment by djc.ochtman
on 21 Sep 2012 at 8:25
Original issue reported on code.google.com by
daevaorn
on 13 Mar 2011 at 9:09Attachments: