From 4caf26a4f5708f490c62f46ab68527f6fcc54295 Mon Sep 17 00:00:00 2001 From: Felix Gruber Date: Sun, 10 Mar 2024 21:22:44 +0000 Subject: gnu: python-3.12: Enable loadable sqlite extensions. This change makes it possible to load sqlite extensions with import sqlite3 con = sqlite3.connect(":memory:") con.enable_load_extension(True) con.load_extension(path_to_extension) * gnu/packages/python.scm (python-3.12)[arguments]: Add --enable-loadable-sqlite-extensions to configure-flags. Change-Id: I4fb0a5482c96a12a71c88bc48fffc4c3abe78544 Signed-off-by: Lars-Dominik Braun --- gnu/packages/python.scm | 1 + 1 file changed, 1 insertion(+) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 5df25ac165..b2757c651e 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -635,6 +635,7 @@ data types.") "--with-computed-gotos" ;main interpreter loop optimization "--enable-unicode=ucs4" "--without-static-libpython" + "--enable-loadable-sqlite-extensions" ;; FIXME: These flags makes Python significantly faster, ;; but leads to non-reproducible binaries. -- cgit v1.2.3