Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
ad0daf5b
Commit
ad0daf5b
authored
Apr 26, 2019
by
Charles Pigott
Committed by
Berker Peksag
Apr 26, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bpo-31525: Increase minimum sqlite version number check (GH-12923)
parent
06d04e77
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
setup.py
setup.py
+3
-3
No files found.
setup.py
View file @
ad0daf5b
...
...
@@ -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
,))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment