From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) by sourceware.org (Postfix) with ESMTPS id E19DA3858C5E for ; Thu, 9 Mar 2023 22:49:50 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E19DA3858C5E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ed1-x52c.google.com with SMTP id cw28so13346779edb.5 for ; Thu, 09 Mar 2023 14:49:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678402189; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id:from :to:cc:subject:date:message-id:reply-to; bh=39V4utc23Pa7OFzGPggzx742EJAoWb+MXS4PIHLqWZY=; b=XuVJcm8LDmkNfxbkZQJJwA1rx4Z5rYP9Ur2RBofLiFc2SaIzVWlZm8I8CpsMxlWlsF 8wnD/2hx6VYwBfI4suP6f4At9VN2B8C84+7GucgbSzYDPjkmc/gqOXz+2IG208lrZSHw VdCEenpyek1Ivtly8FfPwL5nlxSqA8KKT5GHfjuWZ+KHawoB69+dNoZ7jowZ9tdfKuiH 0c1HUZQSXPbGeMy+PTswMMbMTe357PfL3F063aDr1yebGU9OhmY00q3ZhFT+IOCOdB0S vmOUlYNI+CbxAcbpqaGjD9Z0Wp+603qYHr3N9FuX9rdvpMiGKE5QbQSLPZxH56hzRr02 COlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678402189; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=39V4utc23Pa7OFzGPggzx742EJAoWb+MXS4PIHLqWZY=; b=WcJkPwOS2LP3b1fjrGrRKFXSGBOBaIR0AAyvLaw2vSKS6YBRewdZuKQct+uWlude9F /hm5kMztcKzDsYcShlCJekpNCWCFHzrw6xa06vRb532l8u6vPUzogk7nQ4R8eSh7BkF5 59+aumXF1gTmPZG8TZNYJioz3a2hAgnf5PieAciL5taJgP/RalFpZuL7dH4cAsZuj7tv ECC3CFxFooo72O7evF0ffxWpEVQlDnm1AqovziEGZyT1xUFJCGcaFllFGmCRDA8Mz8Zt 78UoqbpVQM+MkYdKwtuzA7tnx/u2n+4tFlalA6X9H59gBGvM9JD4OcoQR436wo2uK7pm E/tw== X-Gm-Message-State: AO0yUKUyRrDtB44HR5/PYR6B1BB9laZEmQNFUJ8B+AISa+fpadePzy+L 1wGhx5ANsTGQrpganmg2CLs= X-Google-Smtp-Source: AK7set+MfcRwv0oBlGfrsQfg6hQ4jp/H9rL5F+vg7P7tzja5FIwGLa+maqycXhGnYMd9+iFmYlAUAw== X-Received: by 2002:a17:906:d42:b0:900:a150:cea5 with SMTP id r2-20020a1709060d4200b00900a150cea5mr21009206ejh.54.1678402189553; Thu, 09 Mar 2023 14:49:49 -0800 (PST) Received: from ?IPV6:2001:a61:12a9:1801:b9bf:b7ec:6d81:d4eb? ([2001:a61:12a9:1801:b9bf:b7ec:6d81:d4eb]) by smtp.gmail.com with ESMTPSA id t2-20020a170906178200b008e8e975e185sm123739eje.32.2023.03.09.14.49.48 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 09 Mar 2023 14:49:48 -0800 (PST) Message-ID: <0eaf5f16-db07-a0ef-7884-6179350ee38d@gmail.com> Date: Thu, 9 Mar 2023 23:49:47 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: Python: enable loadable SQLite extension support To: Martin Carpenter , cygwin@cygwin.com References: Content-Language: it From: Marco Atzeri In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: 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