Skip to content

Conversation

@Lee-W
Copy link
Member

@Lee-W Lee-W commented Jan 26, 2026


Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)

  • Read the Pull Request Guidelines for more information. Note: commit author/co-author name and email in commits become permanently public when merged.
  • For fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
  • When adding dependency, check compliance with the ASF 3rd Party License Policy.
  • For significant user-facing changes create newsfragment: {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

@Lee-W Lee-W requested a review from XD-DENG as a code owner January 26, 2026 01:46
@Lee-W Lee-W changed the title Add bundle_path temporarily to sys.path during DagBag parsing. (#55894) [v3-1-test] Add bundle_path temporarily to sys.path during DagBag parsing. (#55894) Jan 26, 2026
@Lee-W Lee-W force-pushed the backport-d7c9a0a-v3-1-test branch from dd6612f to bea3eef Compare January 26, 2026 08:27
@Lee-W Lee-W requested a review from dstandish as a code owner January 26, 2026 08:27
…sing. (apache#55894)

* Add bundle_path temporarily to sys.path during DagBag parsing.

* Add bundle_path to sys.path permanently.

- it is intended to pass it to DagBag only for ephemeral processes

* Introduce BundleDagBag for ephemeral pre-loaded bundle path usage.

- usefor CLI and other one-off DagBag instances 'polluting' sys.path

* Remove from backwards compatible layer. Ignore include_examples.
(cherry picked from commit d7c9a0a)

Co-authored-by: Josef Šimánek <josef.simanek@gmail.com>
@Lee-W Lee-W force-pushed the backport-d7c9a0a-v3-1-test branch from bea3eef to 4410fbe Compare January 26, 2026 08:29
@Lee-W Lee-W marked this pull request as draft January 26, 2026 09:01
@Lee-W Lee-W marked this pull request as ready for review January 26, 2026 10:40
@Lee-W Lee-W merged commit 497f2ac into apache:v3-1-test Jan 27, 2026
111 of 116 checks passed
@Lee-W Lee-W deleted the backport-d7c9a0a-v3-1-test branch January 27, 2026 01:14
@ephraimbuddy ephraimbuddy added the type:bug-fix Changelog: Bug Fixes label Jan 27, 2026
@ephraimbuddy ephraimbuddy added this to the Airflow 3.1.7 milestone Jan 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants