Skip to content

Commit dcc7052

Browse files
author
Richard Jones
committed
*** empty log message ***
1 parent 499b564 commit dcc7052

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

doc/installation.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Installing Roundup
33
==================
44

5-
:Version: $Revision: 1.120 $
5+
:Version: $Revision: 1.121 $
66

77
.. contents::
88
:depth: 2
@@ -285,6 +285,9 @@ mysql Fast Many Needs install/admin (MySQLdb_)
285285

286286
SQLite is supported via PySQLite versions 1.1.7, 2.1.0 and sqlite3 (the last
287287
being bundled with Python 2.5+)
288+
289+
Installed SQLite should be the latest version available (3.3.8 is known
290+
to work, 3.1.3 is known to have problems).
288291
**metakit**
289292
Similar performance to sqlite. If you are choosing between these two,
290293
please select sqlite.

roundup/backends/back_sqlite.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $Id: back_sqlite.py,v 1.49 2006-11-11 03:21:12 richard Exp $
1+
# $Id: back_sqlite.py,v 1.50 2006-12-19 03:01:37 richard Exp $
22
'''Implements a backend for SQLite.
33
44
See https://pysqlite.sourceforge.net/ for pysqlite info
@@ -20,6 +20,9 @@
2020
except ImportError:
2121
try:
2222
from pysqlite2 import dbapi2 as sqlite
23+
if sqlite.version_info < (2,1,0):
24+
raise ValueError('pysqlite2 minimum version is 2.1.0+ '
25+
'- %s found'%sqlite.version)
2326
sqlite_version = 2
2427
except ImportError:
2528
import sqlite3 as sqlite

0 commit comments

Comments
 (0)