Lightlines
By astronomer

migrating-airflow-2-to-3

astronomer1.1k installs

Move your Airflow DAG code from version 2 to 3.

What it does

Migrates Airflow 2.x DAG code to Airflow 3.x by correcting incompatible imports, operators, context usage, and API access.

When to use it

Use for Airflow 3 migration, upgrades, compatibility problems, breaking changes, or modernizing an Airflow codebase.

How to use it

Give it an Airflow 2.x project to migrate; it updates the code incrementally and explains the changes and logic requiring testing.

What you provide

  • An existing project

Latest review

What you need · 1

Requires Ruff with Airflow migration rules; the workflow runs preview rules with automatic and unsafe fixes.


Access · 0

No additional actions listed.