You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "jscheffl (via GitHub)" <gi...@apache.org> on 2024/09/26 20:24:35 UTC
[PR] Fix DB utils for Airflow Backwards compatability tests - import not existing [airflow]
jscheffl opened a new pull request, #42522:
URL: https://github.com/apache/airflow/pull/42522
Fix broken main/canary in https://github.com/apache/airflow/actions/runs/11058948895/job/30726378646
Moving import into function preventing non existing import from utils
```
ImportError while importing test module '/opt/airflow/tests/providers/google/cloud/log/test_gcs_task_handler.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/local/lib/python3.8/importlib/__init__.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/providers/google/cloud/log/test_gcs_task_handler.py:31: in <module>
from tests.test_utils.db import clear_db_dags, clear_db_runs
tests/test_utils/db.py:38: in <module>
from airflow.models.backfill import Backfill, BackfillDagRun
E ModuleNotFoundError: No module named 'airflow.models.backfill'
```
--
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.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix DB utils for Airflow Backwards compatability tests - import not existing [airflow]
Posted by "jedcunningham (via GitHub)" <gi...@apache.org>.
jedcunningham merged PR #42522:
URL: https://github.com/apache/airflow/pull/42522
--
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.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org