Open
Description
I start with new python3 verison 3.12.0
Also have the error where connect DataBase
Traceback (most recent call last):
File "/home/t/Development/python/FKPJ/ClinicSYS/run.py", line 1, in <module>
import re, os, io, json, sqlite_utils, requests, pytz, logging
File "/home/t/.local/lib/python3.12/site-packages/sqlite_utils/__init__.py", line 1, in <module>
from .db import Database
File "/home/t/.local/lib/python3.12/site-packages/sqlite_utils/db.py", line 277, in <module>
class Database:
File "/home/t/.local/lib/python3.12/site-packages/sqlite_utils/db.py", line 306, in Database
filename_or_conn: Optional[Union[str, pathlib.Path, sqlite3.Connection]] = None,
^^^^^^^^^^^^^^^^^^
This bug come from sqlite-utils
since's v3.33.
Anyone get the same ?
As well now of the resolved plan just keep the sqlite-utils version in python3.12 with v3.32.1 [tested]
but where are the sqlite3.Connection problem....
This won't happen on python version down to 3.11[tested]
Just the python3.12.0, I have test this error are come from the sqlite3 connection
The error say from sqlite_utils
and with the sqlite3 Connection, what can I do.
Let fix together.