me
/
guix
Archived
1
0
Fork 0

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>
master
Felix Gruber 2024-03-10 21:22:44 +00:00 committed by Lars-Dominik Braun
parent 259372b7a9
commit 4caf26a4f5
No known key found for this signature in database
GPG Key ID: F663943E08D8092A
1 changed files with 1 additions and 0 deletions

View File

@ -635,6 +635,7 @@ data types.")
"--with-computed-gotos" ;main interpreter loop optimization "--with-computed-gotos" ;main interpreter loop optimization
"--enable-unicode=ucs4" "--enable-unicode=ucs4"
"--without-static-libpython" "--without-static-libpython"
"--enable-loadable-sqlite-extensions"
;; FIXME: These flags makes Python significantly faster, ;; FIXME: These flags makes Python significantly faster,
;; but leads to non-reproducible binaries. ;; but leads to non-reproducible binaries.