Skip to content

Conversation

@jedcunningham
Copy link
Member

This was only being imported if load_examples was on.

Before:

Traceback (most recent call last):
  File "/Users/jedc/github/airflow/airflow-core/src/airflow/_shared/plugins_manager/plugins_manager.py", line 234, in _load_plugins_from_plugin_directory
    loader = importlib.machinery.SourceFileLoader(mod_name, file_path)
             ^^^^^^^^^
UnboundLocalError: cannot access local variable 'importlib' where it is not associated with a value

This was only being imported if load_examples was on.
@jedcunningham
Copy link
Member Author

Duplicate of #60373

@jedcunningham jedcunningham marked this as a duplicate of #60373 Jan 12, 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.

5 participants