spine-tools / Spine-Database-API

Database interface to Spine generic data model
https://www.tools-for-energy-system-modelling.org/
GNU Lesser General Public License v3.0
6 stars 5 forks source link

Require compatible SQLite library version #198

Open soininen opened 1 year ago

soininen commented 1 year ago

The SQLite library up to at least 3.7.17 won't work with spinedb_api as discussed in Spine-project/Spine-Toolbox#1538. On my system I have 3.35.5 which works just fine. Perhaps we should check for compatible version when connecting to a sqlite database? Or add a troubleshooting note to README.md? The version can be found with

import sqlite3
sqlite3.sqlite_version