You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/05/04 04:08:33 UTC

[GitHub] [airflow] RosterIn commented on pull request #8668: Bump supported mysqlclient to <1.5

RosterIn commented on pull request #8668:
URL: https://github.com/apache/airflow/pull/8668#issuecomment-623247580


   you have erros:
   ```
   ImportError while importing test module '/opt/airflow/tests/providers/google/cloud/operators/test_mysql_to_gcs.py'.
   Hint: make sure your test modules/packages have valid Python names.
   Traceback:
   tests/providers/google/cloud/operators/test_mysql_to_gcs.py:24: in <module>
       from _mysql_exceptions import ProgrammingError
   E   ModuleNotFoundError: No module named '_mysql_exceptions'
   ```
   
   you need to make modifications to the code to get it working as there were breaking changes in `PyMySQL`
   https://github.com/PyMySQL/mysqlclient-python/blob/master/HISTORY.rst
   
   the change related to the error that you get is:
   _mysql and _mysql_exceptions modules are moved under MySQLdb package. (https://github.com/PyMySQL/mysqlclient-python/pull/293)
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org