Python 2.5 and SQlite 3

Arthur Pemberton pemboa at gmail.com
Tue Dec 5 08:40:19 UTC 2006


When is Fedora going up to the more current versions of Python 2.5 and
Sqlite? I asked because I spent several hours today reading online
documentation on the two suites at python.org. I then spent a hour
trying to figure out why my code was failing.

Turned out that the version of the python wrapper for sqlite is older
that the currently maintained branch, and is also a poorly documented
version. I eventually found out that the module I was reading up on in
Python (sqlite3) was only in 2.5.

However, and luckily, the more updated version of the wrapper was in
the yum repos. However it was named python-sqlite2 while there was
also a package called sqlite2 which seems to be an older version of
sqlite.

So to summarize:

sqlite is sqlite3
sqlite2 seems to be the predecessor of sqlite3
python-sqlite is an older sparsely documented version of the wrapper
python-sqlite2 is the updated version of the wrapper
and the sqlite3 python module does not appear to exist in any repo.

I eventually solved the problem with some help over at #fedora,
#python and google.com

It would be nice if the RPM package descriptions at least explained
some of this. I did do several yum info queries in an attempt to find
out what I needed, but the descriptions are all quite generic.

Thank you.

Arthur Pemberton

-- 
Fedora Core 6 and proud




More information about the fedora-list mailing list