The GitHub Actions job "Tests" on airflow.git has failed.
Run started by GitHub user ashb (triggered by ashb).

Head commit for run:
47b67f13da667de4eb69233404d4d5a33574dd58 / Jarek Potiuk <[email protected]>
Fix circular imports when airflow starts (#29494)

* Fix circular imports when airflow starts from scratch

When airflow CLI is started without generated config file the CLI
fails with circular imports. Some of the util classes imported
during such start were importing "constants" (in fact variables)
from the setttings and this happened before settings were fully
initialized.

This PR moves all relevant top-level imports to be local imports
and moves initialization of the State class with settings-defined
colors to initialization() method in order to avoid those circular
imports.

* Update airflow/models/xcom.py

Co-authored-by: Tzu-ping Chung <[email protected]>


---------

Co-authored-by: Tzu-ping Chung <[email protected]>

Report URL: https://github.com/apache/airflow/actions/runs/4169248867

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to