From [email protected] upgrade to [email protected]:
brew install [email protected]
Re-create venv:
python3.12 -m venv venv
source venv/bin/activate
Re-install packages:
pip install -r requirements.txt
Then execute code work normal for me, no warning no error :).