Skip to content

Move user-facing utilities from airflow.utils.* to Task SDK definitions #53385

Open
7 of 8 issues completed

Description

@sunank200

Description

Move user-facing utilities from airflow.utils.* directly into Task SDK definition modules where they logically belong, creating deprecation shims for backward compatibility.

Files to move:

  • airflow.utils.state → airflow.sdk.definitions.state
  • airflow.utils.trigger_rule → airflow.sdk.definitions.trigger_rule
  • airflow.utils.weight_rule → airflow.sdk.definitions.weight_rule
  • airflow.utils.types → airflow.sdk.definitions.types
  • airflow.utils.operator_resources → airflow.sdk.definitions.resources
  • airflow.utils.task_group → merge into airflow.sdk.definitions.taskgroup
  • airflow.utils.context → merge into airflow.sdk.definitions.context
  • airflow.utils.decorators → merge into airflow.sdk.definitions.decorators
  • airflow.utils.module_loading → airflow.sdk.definitions._internal.module_loading
  • airflow.utils.helpers → airflow.sdk.definitions._internal.templating

Use case/motivation

No response

Related issues

#51671

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Sub-issues

Sub-issues

7 of 8 Issues completed
Loading 8 sub-issues

Activity

  1. self-assigned this
    on Jul 15, 2025
  2. added
    needs-triage
    on Jul 15, 2025
  3. added
    kind:meta
    on Jul 15, 2025
  4. removed
    needs-triage
    on Jul 16, 2025
  5. removed their assignment
    on Feb 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind:featurekind:meta

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions