From nobody Fri Oct 23 03:13:12 2026 X-Original-To: python@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4j9p4V06zQz6x2dx for ; Fri, 23 Oct 2026 03:13:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4j9p4T3jtYz4kSx for ; Fri, 23 Oct 2026 03:13:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1792725193; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Q6NqaYkj9y5rv/kQjrjruJE19azT46P+tACVxxmoLO4=; b=Yx4BG8YAO97LG6IqwXPVToVmXQXu5PhHhxwJZvVXgP4bDKhqDHVz+fJb/cSU8tIM2a/LBR DxUOmWQnPskuhppQV8J0MkJnbSNDypx2qVAsANBt3IpSY8GVjHO5pif0fKvHPHYmWZfiDw vhON9wQwbund3saAneOm5nEOm2OKnrl9yfnVLm0kCIoMz1rqqLu+/i5KLjwxlVYEhj4/Dt OB62Mnf+kWTpgCGdW7TMh6N6wjaMfvx7ZzokZoOIU/8g6F2kyCS7Eq5qNuj3addqW9KypT JPyueVuFsjUbURR/LMsad5AlG+oUdRjYjY5qdf1QEMmQY29Yeb+zmH61NwmeWA== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1792725193; b=jMzyoeXXWk+7JjhifWB8IiRxqdaGLc6bEuqB8sCOJ6921FklOGyKFjwJPTii58MB8BZCUy 67EtAEq3YlxNjDQ3tuSfBVytxP8lZj7VPqsAFlxdKBEeVK7eE6bjwxCnMk0Qr5vmslyqOR HogKioQOUOn64LTbVPnYgVDBnkk3NaZZtZC6zv7ISFSqEL/vg4UPftEML6+Vq8ZteAEOGj 88QTtyLXB8DMUj54j0ft7RcVz0n8A01muAfGfeDWUZrZn4mt7lvu8navi3g5PQVhGcwXd7 lRe1wmK+OeYIHB655L/IngjMHc6qIh4RiNRfPW75VPsaut58jmJsThE1hcetYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1792725193; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Q6NqaYkj9y5rv/kQjrjruJE19azT46P+tACVxxmoLO4=; b=pn6pSS8ztTE93sM+XZvAvUi6AI+NexBWeXRdF4desYrmeqbE0UeNovtmAmN1F37TJ1P7M2 MbyySoBI8o32MnRMJ4v+TnDNGw0jrZPQdz8RGWVh0/Ut78x+KFBIZyK8adjqN+8qNSMACn tqklLho1BY4yFO9Mpc+b+/MvUVcwEuHBVxzBNUg4YR86ThLwnTB2eRQ5AjbagpCbD1O7k3 m9gynqxWrIB/HpL3F9ajI53ARTimgdwGvhBVrHXD6mXDjQp74nl/s9nMUQ85JtnDOuAoQn Ums3zyjjgJUnMhvSxEufJBdk9v32EHD2lMjXv4OUXMaEJSdfu4l/0jF9DrPzWA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4j9p4T378tz19k0 for ; Fri, 23 Oct 2026 03:13:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 69N3DDhF003264 for ; Fri, 23 Oct 2026 03:13:13 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 69N3DDLD003255 for python@FreeBSD.org; Fri, 23 Oct 2026 03:13:13 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 299796] databases/py-sqlite3: Allow loadable extensions controlled by the EXTENSIONS port option Date: Fri, 23 Oct 2026 03:13:12 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: yuri@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: python@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Archive: https://lists.freebsd.org/archives/freebsd-python X-BeenThere: freebsd-python@freebsd.org Sender: owner-freebsd-python@FreeBSD.org List-Id: FreeBSD-specific Python issues List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D299796 Bug ID: 299796 Summary: databases/py-sqlite3: Allow loadable extensions controlled by the EXTENSIONS port option Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: python@FreeBSD.org Reporter: yuri@freebsd.org Flags: maintainer-feedback?(python@FreeBSD.org) Assignee: python@FreeBSD.org Created attachment 276175 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D276175&action= =3Dedit patch The EXTENSIONS option allows the sqlite3 Python module to load extensions. Rationale: Users should be able to load extensions. Extension examples: * databases/py-sqlite-vec References: * The upstream disables this option by default * Virtually all port systems (Debian, Redhat, Fedora, Arch, etc) extensions= by default in their sqlite3 ports. Code example: import sqlite3 import sqlite_vec # Create your standard SQLite connection conn =3D sqlite3.connect(":memory:") # Enable extension loading on the underlying connection conn.enable_load_extension(True) # Automatically locate and load the vec0 library sqlite_vec.load(conn) # Optional: Disable extension loading for security conn.enable_load_extension(False) # Verify the extension works by checking its version cursor =3D conn.cursor() cursor.execute("select vec_version();") print(f"sqlite-vec version: {cursor.fetchone()[0]}") --=20 You are receiving this mail because: You are the assignee for the bug.=