Skip to content

Bundle root not imported to import path on worker #51282

@codenamelxl

Description

@codenamelxl

Apache Airflow version

3.0.1

If "Other Airflow 2 version" selected, which one?

No response

What happened?

#50385 Fix the Dag bundle import on Dag Processor reported in, DAG can be import without error by Dag Processor.
However, it seems to not work with worker side, failing with same import error

What you think should happen instead?

Git Dag Bundle should work correctly on worker

How to reproduce

Create Dag bundle that import a relative module within the same repo. Use Git Dag Bundle to deploy it

Operating System

Ubuntu

Versions of Apache Airflow Providers

No response

Deployment

Virtualenv installation

Deployment details

No response

Anything else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Labels

area:corekind:bugThis is a clearly a bugneeds-triagelabel for new issues that we didn't triage yet

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions