Skip to content

Feature/airflow 2.11#82

Open
AngelicaLastra wants to merge 2 commits intomainfrom
feature/airflow_2.11
Open

Feature/airflow 2.11#82
AngelicaLastra wants to merge 2 commits intomainfrom
feature/airflow_2.11

Conversation

@AngelicaLastra
Copy link
Contributor

@AngelicaLastra AngelicaLastra commented Mar 2, 2026

Description & motivation

This PR upgrades ea_airflow_util to the latest standards of Airflow 2.11.0, the final 2.x release before 3.x. The main changes are:

PR Merge Priority:

  • Low
  • Medium
  • High

Changes to existing files:

Deprecated import path updates (AIP-21):
These _operator/_hook suffixed modules were deprecated in Airflow 2.0. The updated paths have been available since 2.0 and are compatible with 2.11 and 3.x.

  • ea_airflow_util/dags/s3_to_snowflake_dag.py:
    • airflow.operators.python_operator --> airflow.operators.pythor
  • ea_airflow_util/dags/sftp_to_snowflake_dag.py:
    • airflow.operators.bash_operator --> airflow.operators.bash
    • airflow.operators.python_operator --> airflow.operators.python

@apply_defaults decorator removal:

  • ea_airflow_util/providers/aws/operators/s3.py:
    • Removed @apply_defaults decorator and its import. This decorator has been a no-op since Airflow 2.1, it is now automatically applied via the BaseOperator class. Removing it eliminates deprecation warnings and prevents breakage when we migrate fully to 3.x in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant