[Python-checkins] bpo-31525: Increase minimum sqlite version number check (GH-12923)
Berker Peksag
webhook-mailer at python.org
Fri Apr 26 11:44:31 EDT 2019
https://github.com/python/cpython/commit/ad0daf5b374dc43540d4ffcf32ca30e5c5147b90
commit: ad0daf5b374dc43540d4ffcf32ca30e5c5147b90
branch: master
author: Charles Pigott <charlespigott at googlemail.com>
committer: Berker Peksag <berker.peksag at gmail.com>
date: 2019-04-26T18:38:12+03:00
summary:
bpo-31525: Increase minimum sqlite version number check (GH-12923)
files:
M setup.py
diff --git a/setup.py b/setup.py
index 58c16e8ba49d..96a49b4e353c 100644
--- a/setup.py
+++ b/setup.py
@@ -1299,7 +1299,7 @@ def detect_sqlite(self):
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 @@ def detect_sqlite(self):
]
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 @@ def detect_sqlite(self):
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,))
More information about the Python-checkins
mailing list