The GitHub Actions job "Tests" on 
airflow.git/fix/kubernetes-cleanup-import-error has failed.
Run started by GitHub user Eason09053360 (triggered by Eason09053360).

Head commit for run:
0fe5c7c271064260f63be8a35829254b320bd839 / Eason09053360 
<[email protected]>
Fix ModuleNotFoundError in kubernetes cleanup cronjob

The cleanup cronjob in apache-airflow-providers-cncf-kubernetes >= 10.12.2
fails in production because it imports from 
tests_common.test_utils.taskinstance,
which is not available outside the dev repository.

Solution: Remove test utility import and use TaskInstance directly,
manually setting dag_version_id for Airflow 3.0+ compatibility.

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

With regards,
GitHub Actions via GitBox


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

Reply via email to