diff options
author | Charles Pigott <charlespigott@googlemail.com> | 2019-04-26 15:38:12 (GMT) |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2019-04-26 15:38:12 (GMT) |
commit | ad0daf5b374dc43540d4ffcf32ca30e5c5147b90 (patch) | |
tree | 1bb0b6fbec1d99e200ea16db790aebc561cffcab /setup.py | |
parent | 06d04e77ca36133e82bf6c363c09ba82e07a9c75 (diff) | |
download | cpython-ad0daf5b374dc43540d4ffcf32ca30e5c5147b90.zip cpython-ad0daf5b374dc43540d4ffcf32ca30e5c5147b90.tar.gz cpython-ad0daf5b374dc43540d4ffcf32ca30e5c5147b90.tar.bz2 |
bpo-31525: Increase minimum sqlite version number check (GH-12923)
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1299,7 +1299,7 @@ class PyBuildExt(build_ext): sqlite_setup_debug = False # verbose debug prints from this script? # We hunt for #define SQLITE_VERSION "n.n.n" - # We need to find >= sqlite version 3.0.8 + # We need to find >= sqlite version 3.3.9, for sqlite3_prepare_v2 sqlite_incdir = sqlite_libdir = None sqlite_inc_paths = [ '/usr/include', '/usr/include/sqlite', @@ -1310,7 +1310,7 @@ class PyBuildExt(build_ext): ] if CROSS_COMPILING: sqlite_inc_paths = [] - MIN_SQLITE_VERSION_NUMBER = (3, 0, 8) + MIN_SQLITE_VERSION_NUMBER = (3, 3, 9) MIN_SQLITE_VERSION = ".".join([str(x) for x in MIN_SQLITE_VERSION_NUMBER]) @@ -1344,7 +1344,7 @@ class PyBuildExt(build_ext): break else: if sqlite_setup_debug: - print("%s: version %d is too old, need >= %s"%(d, + print("%s: version %s is too old, need >= %s"%(d, sqlite_version, MIN_SQLITE_VERSION)) elif sqlite_setup_debug: print("sqlite: %s had no SQLITE_VERSION"%(f,)) |