guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: python-3.12: Enable loadable sqlite extensio


From: guix-commits
Subject: branch master updated: gnu: python-3.12: Enable loadable sqlite extensions.
Date: Fri, 26 Apr 2024 02:53:02 -0400

This is an automated email from the git hooks/post-receive script.

lbraun pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 4caf26a4f5 gnu: python-3.12: Enable loadable sqlite extensions.
4caf26a4f5 is described below

commit 4caf26a4f5708f490c62f46ab68527f6fcc54295
Author: Felix Gruber <felgru@posteo.net>
AuthorDate: Sun Mar 10 21:22:44 2024 +0000

    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>
---
 gnu/packages/python.scm | 1 +
 1 file changed, 1 insertion(+)

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]