Skip to content

Commit 4718f24

Browse files
committed
Issue #5033: Fix building of the sqlite3 extension module
1 parent 48e82e5 commit 4718f24

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
@@ -763,6 +763,7 @@ Randy Pausch
763763
Samuele Pedroni
764764
Marcel van der Peijl
765765
Berker Peksag
766+
Andreas Pelme
766767
Steven Pemberton
767768
Bo Peng
768769
Santiago Peresón

Misc/NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -858,6 +858,9 @@ Tests
858858
Build
859859
-----
860860

861+
- Issue #5033: Fix building of the sqlite3 extension module when the
862+
SQLite library version has "beta" in it. Patch by Andreas Pelme.
863+
861864
- Issue #17228: Fix building without pymalloc.
862865

863866
- Issue #17086: Backport the patches from the 3.3 branch to cross-build

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1114,7 +1114,7 @@ class db_found(Exception): pass
11141114
if sqlite_setup_debug: print "sqlite: found %s"%f
11151115
incf = open(f).read()
11161116
m = re.search(
1117-
r'\s*.*#\s*.*define\s.*SQLITE_VERSION\W*"(.*)"', incf)
1117+
r'\s*.*#\s*.*define\s.*SQLITE_VERSION\W*"([\d\.]*)"', incf)
11181118
if m:
11191119
sqlite_version = m.group(1)
11201120
sqlite_version_tuple = tuple([int(x)

0 commit comments

Comments
 (0)