emacs-bug-tracker
[Top][All Lists]
Advanced

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

bug#69716: closed ([PATCH] gnu: python-3.12: Enable loadable sqlite exte


From: GNU bug Tracking System
Subject: bug#69716: closed ([PATCH] gnu: python-3.12: Enable loadable sqlite extensions.)
Date: Fri, 26 Apr 2024 06:55:08 +0000

Your message dated Fri, 26 Apr 2024 08:53:45 +0200
with message-id <ZitPeR5OgUQCCQ-J@noor.fritz.box>
and subject line Re: [bug#69716] [PATCH] gnu: python-3.12: Enable loadable 
sqlite extensions.
has caused the debbugs.gnu.org bug report #69716,
regarding [PATCH] gnu: python-3.12: Enable loadable sqlite extensions.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
69716: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=69716
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] gnu: python-3.12: Enable loadable sqlite extensions. Date: Sun, 10 Mar 2024 21:22:44 +0000
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
---
 gnu/packages/python.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 12a5148cb1..e7df4d86ce 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -633,6 +633,7 @@ (define-public python-3.12
                                "--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.

base-commit: c7836393be4d134861d652b2fcf09cf4e68275ca
-- 
2.43.0




--- End Message ---
--- Begin Message --- Subject: Re: [bug#69716] [PATCH] gnu: python-3.12: Enable loadable sqlite extensions. Date: Fri, 26 Apr 2024 08:53:45 +0200
Hi,

> I'm interested in loading the spatialite extension [1] for working with 
> geographical data in sqlite. Spatialite is already packaged in guix 
> under the name libspatialite.

seems to work. Pushed as 4caf26a4f5708f490c62f46ab68527f6fcc54295.

Lars



--- End Message ---

reply via email to

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