[
https://issues.apache.org/jira/browse/AIRFLOW-5512?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ash Berlin-Taylor closed AIRFLOW-5512.
--------------------------------------
Resolution: Not A Problem
The error printed is not fatal and doesn't stop the db init command from
completing.
If the goal is to stop the errors from parsing DAGs showing up in the CLI when
running db init then the migration that imports the dags
airflow/migrations/versions/cc1e65623dc7_add_max_tries_column_to_task_instance.py
could be altered to either capture/silence the errors, or better might be to
make that migration just work from the DB, not the code.
> Development dependencies need gcp modules
> -----------------------------------------
>
> Key: AIRFLOW-5512
> URL: https://issues.apache.org/jira/browse/AIRFLOW-5512
> Project: Apache Airflow
> Issue Type: Improvement
> Components: dependencies
> Affects Versions: 1.10.5
> Reporter: Hao Liang
> Assignee: Hao Liang
> Priority: Minor
>
> Since airflow/example_dags/example_gcs_to_bq.py requires GCP modules, running
> {code:bash}
> airflow db init
> {code}
> after
> {code:bash}
> pip install -e ".[devel]"
> {code}
> raises error: ModuleNotFoundError: No module named 'google.cloud'.
> Maybe we should add GCP dependencies to devel.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)