You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Clean airflow.utils and move DAG definition items to Task SDK #51671
The airflow.utils directory has become a dumpyard and a lot of SDK code is imported there and SDK imports a lot of these code.
As part of this task, all the modules under airflow.utils should be looked at and moved as necessary to right places (user-facing / DAG defn should be in task SDK).
This should not be moved to airflow.sdk.utils. The goal is not to have a dumpyard like "utils".
Activity
task-sdkdependency from airflow-core #51546uranusjr commentedon Jun 13, 2025
Do we need to maintain backward compatibility and keep shims in the module?
kaxil commentedon Jun 13, 2025
Yeah, I think so, but I think we can have one in
airflow/utils/__init__.pysimilar to https://github.com/apache/airflow/blob/main/airflow-core/src/airflow/operators/__init__.pyairflow.utils.xcommodule and move it to relevant places #53065Move ``SetupTeardownContext`` to Task SDK
11 remaining items
airflow.utils.sessionreferences in task-sdk #54710airflow.utils.helpers.render_template_as_stringin task sdk #54711airflow.utils.emailreferences in task-sdk #54712airflow.utils.typesreferences in task-sdk #54713KoviAnusha commentedon Oct 22, 2025
As you all are making these changes, is it already documented somewhere? or shall I work on documentation?
amoghrajesh commentedon Feb 4, 2026
The two pending items are related to dag.test here
airflow.utils.sessionreferences in task-sdk #54710airflow.utils.typesreferences in task-sdk #54713amoghrajesh commentedon Feb 12, 2026
The remaining items have been moved to a new epic: #61803 which will be handled after 3.2, closing this one now