HDI-Project / ATM

Auto Tune Models - A multi-tenant, multi-data system for automated machine learning (model selection and tuning).
https://hdi-project.github.io/ATM/
MIT License
525 stars 141 forks source link

Change to PyMySQL to remove libmysqlclient-dev system dependency #136

Closed csala closed 5 years ago

csala commented 5 years ago

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.