[Bug 265537] databases/py-sqlite3: Fix runtime error with lang/python311

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 31 Jul 2022 16:21:31 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265537

            Bug ID: 265537
           Summary: databases/py-sqlite3: Fix runtime error with
                    lang/python311
           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: loader@FreeBSD.org
             Flags: maintainer-feedback?(python@FreeBSD.org)
          Assignee: python@FreeBSD.org

Created attachment 235584
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=235584&action=edit
patch

% python3.11 -c 'import sqlite3'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/local/lib/python3.11/sqlite3/__init__.py", line 57, in <module>
    from sqlite3.dbapi2 import *
  File "/usr/local/lib/python3.11/sqlite3/dbapi2.py", line 27, in <module>
    from _sqlite3 import *
ImportError: /usr/local/lib/python3.11/lib-dynload/_sqlite3.cpython-311.so:
Undefined symbol "pysqlite_close_all_blobs"

_sqlite/blob.c was introduced by this commit and only affects lang/python311
https://github.com/python/cpython/commit/ee475430d431814cbb6eb5e8a6c0ae51943349d4

-- 
You are receiving this mail because:
You are the assignee for the bug.