Your system has an unsupported version of sqlite3

Hi, I’m trying to deploy a flask app but I am getting this error:
RuntimeError: Your system has an unsupported version of sqlite3. Chroma requires sqlite3 >= 3.35.0.

I am using specifiyng python-3.11.7 in my runtime file. I tried dinamically replace the sqlite3 module with the pysqlite3 like this:

import(‘pysqlite3’)
import sys
sys.modules[‘sqlite3’] = sys.modules.pop(‘pysqlite3’)

Currently using chromadb==0.5.0 .

Any ideas/suggestions?

I think just adding sqlite3 >= 3.35.0 to your reuirementes.txt file should be enough.