-
Notifications
You must be signed in to change notification settings - Fork 16.6k
[v3-1-test] Add bundle_path temporarily to sys.path during DagBag parsing. (#55894)#61053
Merged
Lee-W merged 9 commits intoapache:v3-1-testfrom Jan 27, 2026
Merged
[v3-1-test] Add bundle_path temporarily to sys.path during DagBag parsing. (#55894)#61053Lee-W merged 9 commits intoapache:v3-1-testfrom
Lee-W merged 9 commits intoapache:v3-1-testfrom
Conversation
Member
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.rstor{issue_number}.significant.rst, in airflow-core/newsfragments.
Lee-W
requested review from
amoghrajesh,
ashb,
bugraoz93,
ephraimbuddy,
jedcunningham,
kaxil and
potiuk
as code owners
January 26, 2026 01:16
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
requested review from
eladkal,
gopidesupavan,
jason810496,
jscheffl,
mobuchowski and
vincbeck
as code owners
January 26, 2026 06:48
Lee-W
force-pushed
the
backport-d7c9a0a-v3-1-test
branch
from
January 26, 2026 08:27
dd6612f to
bea3eef
Compare
Lee-W
requested review from
BasPH,
bbovenzi,
hussein-awala,
pierrejeambrun,
rawwar,
romsharon98,
ryanahamilton,
sekikn,
shahar1,
shubhamraj-git and
uranusjr
as code owners
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 Simanek
* 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 Simanek
Lee-W
force-pushed
the
backport-d7c9a0a-v3-1-test
branch
from
January 26, 2026 08:29
bea3eef to
4410fbe
Compare
...ist in v3-1-test
shahar1
approved these changes
Jan 26, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.