aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/python.scm
diff options
context:
space:
mode:
authorFelix Gruber <felgru@posteo.net>2024-03-10 21:22:44 +0000
committerLars-Dominik Braun <lars@6xq.net>2024-04-26 08:12:06 +0200
commit4caf26a4f5708f490c62f46ab68527f6fcc54295 (patch)
tree3c801c7d33af40f5b651665af992ea47b39c88c5 /gnu/packages/python.scm
parent259372b7a95e3fea75a9ce1127a904e3f1ea3591 (diff)
downloadguix-4caf26a4f5708f490c62f46ab68527f6fcc54295.tar.gz
guix-4caf26a4f5708f490c62f46ab68527f6fcc54295.zip
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 <lars@6xq.net>
Diffstat (limited to 'gnu/packages/python.scm')
-rw-r--r--gnu/packages/python.scm1
1 files changed, 1 insertions, 0 deletions
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.