Skip to content

Feature/airflow 2.11#52

Open
AngelicaLastra wants to merge 1 commit intomainfrom
feature/airflow_2.11
Open

Feature/airflow 2.11#52
AngelicaLastra wants to merge 1 commit intomainfrom
feature/airflow_2.11

Conversation

@AngelicaLastra
Copy link

Description & motivation

This PR upgrades the edu_project_template from Airflow 2.9.3 to 2.11.0, the final 2.x release before 3.x. This upgrade brings:

The main changes are:

  • Updated airflow version in venv-airflow-init.sh file.
  • A fix for a silently broken string version comparison that would disable DAG parsing optimization in versions 2.10+.

PR Merge Priority:

  • Low
  • Medium
  • High

Changes to existing files:

Airflow version bump:

  • init/venv-airflow-init.sh:
    • Bumped AIRFLOW_VERSION from 2.9.3 to 2.11.0.

DAG parsing performance fix:

  • edfi_resources_to_snowflake.py:
    • Removed the version-gated if importlib.metadata.version('apache-airflow') >= '2.4' check around get_parsing_context(). The string comparison silently fails for 2.11.0 ('2.11.0' < '2.4' in string format since it is treating each character as an alphabetical comparison), which would disable the DAG parsing optimization and cause all DAGs to be fully parsed every scheduler cycle. Since we now require 2.4+, the version check is unnecessary.

@AngelicaLastra AngelicaLastra changed the title updated package for latest version of airflow 2.11 Feature/airflow 2.11 Mar 2, 2026
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