From nobody Thu Aug 13 08:30:21 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 4hLJT91q3nz6X6pG for ; Thu, 13 Aug 2026 08:30:21 +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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "YR1" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4hLJT91CbKz3GTC for ; Thu, 13 Aug 2026 08:30:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1786609821; 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: in-reply-to:in-reply-to:references:references; bh=n4WqjxOCW8zP8T3kZ1/wPLnSHdhvIMRuKSRQ943w91s=; b=IAI7K0ThsFSkotMzYR2+xdaeV/1NIIDyU6akbgqsV8Itc1D+hLf2esnyjd56xVAwI08TXh c6h8jqYgPvRH3qoD85lR3uTlQIH2R4n/N1Ea3SH5PRbzssCy15iSChEbOiTcqe6tVWxNbt j07z+GIG2eKQfCA/5frDyddJGq7mzQS/x1c/NYBggIOd0yJJaPDcEgJohgBF8LkenOdS1e y/KfeecQf+cPzcuW/tP/GEj43pWx6O8rNwONXUEpkDTlkQaCAlN4rn7XSLOFPwdgXIRpBf a5fapKTHhCsMpD4dhDgLwJGiTaQPzCGvA5n5ZWujjp7dAmcQIHQeaRi7yzvilg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1786609821; a=rsa-sha256; cv=none; b=WydwPuV6zue04AcRzScUzgwPg2aH4pQRXG0V98JhhS8tsYrDr9g4xAdwEHrf5g+0sxzdXy RSoe3hjR2oMe/P02dtKXc/91yE1AxgrxlY0Slm2Ra8TDxN8DEbw3f57RWU1R+Ld284NnVU gcPYVqkQiA7DVpEKpEChCSBsw4rQfHIgRkhwDA4VOvpyrJMDdS/4lYBjBoto1MKxvZk4Nr NCOhP6CklHzZGizXxwel9eHVxeGYTgkF/dl7enfXFhxq7Jc6FWJnBxgohEMOl9h7IuJSO8 Jc6FXID7ZRbYJE8c9xxPideZDTlAZDhJNqYN5Ld4uHoDXNfa5VzMd8nYm7oIUw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1786609821; 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: in-reply-to:in-reply-to:references:references; bh=n4WqjxOCW8zP8T3kZ1/wPLnSHdhvIMRuKSRQ943w91s=; b=La2elgx6IvLZVUUHkMHzWCZaODiLfKMnVV3K2HkLMD+aUm/TVgMv1hLTWrsqW6LWNlwHVh rhlaVVXCyD6cegNBq/i6rpAA8iALiXCKV1vIrOSMu0/RmHwPATJDMrVF601r93AE8ZrPcv YaohjPTN3IRNwNkLMFfKIa2KUXxF6P8osspIy0zDu5vC3QyWMmE/6aI5A2/nwBG0sL2oI6 GZkUBoHw/22YUEIDlFtR6DSsafwLJCIDefoEWp7zhIxPI6n3KHLMO3+yQS00gwHB3Es0od NU7dSKkGprv56E8GiemaUAVTylz+21bIaorVoI3QcSm7DhG8e8ULxVDHZTyc2g== 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 4hLJT86jpGz13RJ for ; Thu, 13 Aug 2026 08:30:20 +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 67D8UKt2078042 for ; Thu, 13 Aug 2026 08:30:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 67D8UK0I078041 for python@FreeBSD.org; Thu, 13 Aug 2026 08:30:20 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 297345] databases/py-sqlite3: Cannot load extensions Date: Thu, 13 Aug 2026 08:30:21 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed 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: michaelo@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: Message-ID: In-Reply-To: References: 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-Id: FreeBSD-specific Python issues List-Archive: https://lists.freebsd.org/archives/freebsd-python List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-python@freebsd.org Sender: owner-freebsd-python@FreeBSD.org List-Id: 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=3D297345 --- Comment #4 from Michael Osipov --- One should also read: https://docs.python.org/3/library/sqlite3.html#sqlite3.Connection.enable_lo= ad_extension This is also weird: $ python Python 3.10.20 (main, Jun 20 2026, 01:08:14) [Clang 19.1.7 (https://github.com/llvm/llvm-project.git llvmorg-19.1.7-0-gcd7080 on freeb= sd14 Type "help", "copyright", "credits" or "license" for more information. >>> import sqlite3 >>> conn =3D sqlite3.connect(":memory:") >>> conn.enable_load_extension(True) >>> sqlite3.SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION Traceback (most recent call last): File "", line 1, in File "/usr/local/lib/python3.10/sqlite3/__init__.py", line 71, in __getat= tr__ raise AttributeError(f"module 'sqlite3' has no attribute '{name}'") AttributeError: module 'sqlite3' has no attribute 'SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION' >>> conn.execute("select load_extension('/var/osipovmi/Projekte/sqlite-exte= nsions/dns/libsqlitedns.so')") >>> for row in conn.execute("select dns('deblndw011x.innomotics.net')"): ... print(row) ... ('10.64.105.147',) >>> --=20 You are receiving this mail because: You are the assignee for the bug.=