fix: add --no-dags-base-dir flag for Airflow 3 DAG bundle compatibility by tayloramurphy · Pull Request #2001 · astronomer/astro-cli
Adds opt-in flag to exclude the dags/ directory prefix from DAG bundles. This is needed for Airflow 3.x where sys.path includes the bundle root, causing imports from shared modules in dags/ to fail. Usage: astro deploy --dags --no-dags-base-dir Fixes astronomer#1985
tayloramurphy
changed the title
fix: adjust DAG bundle structure for Airflow 3 sys.path change
fix: add --no-dags-base-dir flag for Airflow 3 DAG bundle compatibility
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters