mirror of
https://github.com/apache/airflow.git
synced 2026-03-26 15:28:46 +00:00
This is the next stage of refactoring of airflow packages, after moving providers to standalone dstribution and separating devel-common as a common distribution. The `task_sdk` has been renamed to `task-sdk` - this way we will never import anything in task_sdk accidentally starting from content root. Some changes have been needed to make it works: * autouse fixture was added to pytest plugin to add `task-sdk/tests` to PYTHONPATH to make it root import * all tests were moved to `task_sdk` package inside the tests folder * all imports for tests are now `from task_sdk` * common tools for task_sdk has been moved to `devel-common/src/test_utils/task_sdk.py` in order to allow importing them before `task-sdk/tests` is added to pythonpath