Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d784e53

Browse files
committed
Issue #5033: Fix building of the sqlite3 extension module
2 parents 4eb9f50 + d213214 commit d784e53

3 files changed

Lines changed: 5 additions & 1 deletion

File tree

Misc/ACKS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -917,6 +917,7 @@ Samuele Pedroni
917917
Justin Peel
918918
Marcel van der Peijl
919919
Berker Peksag
920+
Andreas Pelme
920921
Steven Pemberton
921922
Bo Peng
922923
Santiago Peresón

Misc/NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -945,6 +945,9 @@ Tests
945945
Build
946946
-----
947947

948+
- Issue #5033: Fix building of the sqlite3 extension module when the
949+
SQLite library version has "beta" in it. Patch by Andreas Pelme.
950+
948951
- Issue #17228: Fix building without pymalloc.
949952

950953
- Issue #3718: Use AC_ARG_VAR to set MACHDEP in configure.ac.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1073,7 +1073,7 @@ class db_found(Exception): pass
10731073
with open(f) as file:
10741074
incf = file.read()
10751075
m = re.search(
1076-
r'\s*.*#\s*.*define\s.*SQLITE_VERSION\W*"(.*)"', incf)
1076+
r'\s*.*#\s*.*define\s.*SQLITE_VERSION\W*"([\d\.]*)"', incf)
10771077
if m:
10781078
sqlite_version = m.group(1)
10791079
sqlite_version_tuple = tuple([int(x)

0 commit comments

Comments
 (0)