mirror of
https://github.com/python/cpython.git
synced 2025-08-29 05:05:03 +00:00
bpo-40744: Drop support for SQLite pre 3.7.3 (GH-20909)
Remove code required to support SQLite pre 3.7.3. Co-written-by: Berker Peksag <berker.peksag@gmail.com> Co-written-by: Sergey Fedoseev <fedoseev.sergey@gmail.com>
This commit is contained in:
parent
22748a83d9
commit
207c321f13
12 changed files with 29 additions and 94 deletions
4
setup.py
4
setup.py
|
@ -1452,7 +1452,6 @@ 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.3.9, for sqlite3_prepare_v2
|
||||
sqlite_incdir = sqlite_libdir = None
|
||||
sqlite_inc_paths = [ '/usr/include',
|
||||
'/usr/include/sqlite',
|
||||
|
@ -1463,7 +1462,8 @@ class PyBuildExt(build_ext):
|
|||
]
|
||||
if CROSS_COMPILING:
|
||||
sqlite_inc_paths = []
|
||||
MIN_SQLITE_VERSION_NUMBER = (3, 7, 2)
|
||||
# We need to find >= sqlite version 3.7.3, for sqlite3_create_function_v2()
|
||||
MIN_SQLITE_VERSION_NUMBER = (3, 7, 3)
|
||||
MIN_SQLITE_VERSION = ".".join([str(x)
|
||||
for x in MIN_SQLITE_VERSION_NUMBER])
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue