According to the SQLAlchemy documentation, MySQL connections from SQLAlchemy can be achieved using multiple drivers.
Currently we are using mysqlclient, which requires libmysqlclient-dev to be installed in the system beforehand, but apparently pymysql is a valid alternative that does not have any external dependency, so we should investigate if we can use it to avoid having any system-wide dependency.
According to the SQLAlchemy documentation, MySQL connections from SQLAlchemy can be achieved using multiple drivers.
Currently we are using mysqlclient, which requires
libmysqlclient-dev
to be installed in the system beforehand, but apparently pymysql is a valid alternative that does not have any external dependency, so we should investigate if we can use it to avoid having any system-wide dependency.