I am currently using Airflow 1.10.9 on ECS. I explicitly specify Airflow version in my requirements.txt file as below.
apache-airflow[aws,celery,crypto,gcp,jdbc,mysql,password,postgres,slack,statsd]==1.10.9
After pandas_gbq.gbq 0.15.0 is released, our Airflow cluster has showed this error on Web UI.
cannot import name '_check_google_client_version' from 'pandas_gbq.gbq'
This is because bigquery_hook import _check_google_client_version from pandas_gbq but it was deleted since 0.15.0.
https://github.com/apache/airflow/blob/1.10.9/airflow/contrib/hooks/bigquery_hook.py#L40
https://github.com/pydata/pandas-gbq/blob/0.14.1/pandas_gbq/gbq.py#L37 https://github.com/pydata/pandas-gbq/blob/0.15.0/pandas_gbq/gbq.py
I tried to install pandas_gbq 0.14.1 by specifying the version of pandas-gbq as below but it does not work. pandas-gbq 0.15.0 was installed on the container.
pandas==0.25.3
pandas-gbq==0.14.1
apache-airflow==1.10.9
Would you help me install pandas-gbq 0.14.1 on my Airflow container?