public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Marco Atzeri <marco.atzeri@gmail.com>
To: Martin Carpenter <martin.carpenter@gmail.com>, cygwin@cygwin.com
Subject: Re: Python: enable loadable SQLite extension support
Date: Thu, 9 Mar 2023 23:49:47 +0100	[thread overview]
Message-ID: <0eaf5f16-db07-a0ef-7884-6179350ee38d@gmail.com> (raw)
In-Reply-To: <d30b13fee7e571fc176543df0bddb043c210f356.camel@gmail.com>

On 28.10.2022 17:45, Martin Carpenter wrote:
> Hi,
> 
> Can I please request that the Python 3 package be compiled with "
> --enable-loadable-sqlite-extensions"?
> 
> I'm trying to use a Python 3 app (datasette) to load an SQLite
> extension but it fails with:
> 
> AttributeError: 'sqlite3.Connection' object has no attribute
> 'enable_load_extension'
> 
> The Python docs say that --enable-loadable-sqlite-extensions should be
> passed at build to enable this (new for 3.6) . See:
> 
>   *
> https://docs.python.org/3/library/sqlite3.html#sqlite3.Connection.enable_load_extension
>   *
> https://docs.python.org/3/using/configure.html#cmdoption-enable-loadable-sqlite-extensions
> 

Hi Martin,
sorry I missed your request.

next packages for 3.8, 3.9 (currently under build) and future 3.11 will
include this feature

Regards
Marco


      reply	other threads:[~2023-03-09 22:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-28 15:45 Martin Carpenter
2023-03-09 22:49 ` Marco Atzeri [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0eaf5f16-db07-a0ef-7884-6179350ee38d@gmail.com \
    --to=marco.atzeri@gmail.com \
    --cc=cygwin@cygwin.com \
    --cc=martin.carpenter@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).