I am trying to get the springpython tests to run on a Mac running OS X 10.4. This comes with Python 2.3 by default, so I have upgraded to 2.5 using the Mac ports system. I have also installed sqlite3 and py25-sqlite3. Unfortunately, this installs the module as sqlite3, and the tests fail. If I try to install the older py-sqlite port, it downloads and builds python2.4 and installs the sqlite module into the site-packages as pysqlite2. Neither of these will work with the tests as-is, as they name the module simply 'sqlite', which is not available with this name on Mac OS/X. There's a code snippet here:
h t t p : / / www . devisland . net /help/pythonsqlite.shtml
Which attempts to import sqlite portably in the face of these different versions, but that still doesn't take care of the the existing case where the module presumbly exists as 'sqlite' on the development platform, per the import statement in in src/springpython/database/factory.py and the comment in Sqlite.py in the same location.
quis custodiet ipsos custodes? -- Juvenal VI, 347-8