feedback about Python SDK
Hello!
I would like to use (test) Couchbase 2 DP4 with my Python 3 web application.
Some info about popular python CMF and hosting OS:
- Pyramid supports Python 2.6, 2.7, 3.2
- Django stable version works with Python 2.5, 2.6, 2.7, trunk (next stable Django) will work with Python 2.6, 2.7, 3.3
Couchbase compatible OS:
- Ubuntu 11.04 LTS (default version is 2.7 also 3.2 is available (and there is no <2.7 Python versions in official repositories)
- RedHat/CentOS 6.2 (default version is 2.6.6 http://distrowatch.com/table.php?distribution=redhat)
Another popular hosting OS (latest stable) with default Python version:
- Debian 6.0 squeeze - 2.6.6
- FreeBSD (popular in Russia as hosting OS) 9 STABLE- 3.2.3 (2.7 available also)
- OpenSUSE 12.1 - 2.7.2
- Gentoo stable - 3.2.2 (2.7 available also)
So IMO official Coucbase SDK should works fine on 2.6, 2.7, 3.2.
But I can't use it on 3.2 for now..
Also there are some problems include support for 2.4, 2.5 and for 3.2 together that's why Django dropped support for version < 2.6 before add support for 3 version.
But in commits on github you 16days ago accepted commit ( https://github.com/couchbase/couchbase-python-client/commit/e46ef9f820da... ) with support for 2.4. I'm confused...
Also official info about 2 and 3 Python:
http://wiki.python.org/moin/Python2orPython3
So my questions:
1. Is it possible to use Python 3.2 with Couchbase 2.0 DP4 for now? (My installation log with errors here: http://pastebin.com/35AZTLKL) If not, is it in TODO to add support for Python 3.2 (or 3.3)?
2. Is it good idea create Python wrapper for C SDK for speed optimization or it doesn't matter (I'm project manager, not programmer so not sure about it)? How much difference will for high-load projects? (I see, there is project https://bitbucket.org/chango/pylibcb , but for Couchbase 1.8, not sure about 2.0)