Skip to content

Fix importlib import in plugins_manager#60373

Merged
amoghrajesh merged 2 commits intoapache:mainfrom
pgagnon:fix/plugins-manager-importlib-unbound
Jan 10, 2026
Merged

Fix importlib import in plugins_manager#60373
amoghrajesh merged 2 commits intoapache:mainfrom
pgagnon:fix/plugins-manager-importlib-unbound

Conversation

@pgagnon
Copy link
Copy Markdown
Contributor

@pgagnon pgagnon commented Jan 10, 2026

Move import importlib outside the if load_examples: block so it's available when loading plugins from the plugins directory. This is a regression introduced in #59956, causing plugins to fail to load.

Move `import importlib` outside the `if load_examples:` block so it's available when loading plugins
from the plugins directory. This is a regression introduced in apache#59956, causing plugins to fail to load.
Copy link
Copy Markdown
Contributor

@amoghrajesh amoghrajesh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah the later usages! Thanks, looks good to me

@amoghrajesh amoghrajesh added this to the Airflow 3.2.0 milestone Jan 10, 2026
@amoghrajesh amoghrajesh merged commit 70ca057 into apache:main Jan 10, 2026
61 checks passed
@pgagnon pgagnon deleted the fix/plugins-manager-importlib-unbound branch January 11, 2026 00:30
jason810496 pushed a commit to jason810496/airflow that referenced this pull request Jan 22, 2026
jhgoebbert pushed a commit to jhgoebbert/airflow_Owen-CH-Leung that referenced this pull request Feb 8, 2026
choo121600 pushed a commit to choo121600/airflow that referenced this pull request Feb 22, 2026
Subham-KRLX pushed a commit to Subham-KRLX/airflow that referenced this pull request Mar 4, 2026
Ankurdeewan pushed a commit to Ankurdeewan/airflow that referenced this pull request Mar 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants