Remove broken SQLAlchemy backend and fix Python 3