One of the ways to fix the issue is to disable hooks for the plugin using DISABLE_HOOKS_FOR_PLUGINS in settings.py of the project, but this is not elegant solution. Instead, the plugin's related config loader should be used only within kedro kubeflow ... commands context.
The plugin overrides hook called
register_config_loader
to allow dynamic injection of branch name and commit id. Unfrotunately, this hook is marked asfirstresult=True
in Kedro spec (see https://github.com/quantumblacklabs/kedro/blob/master/kedro/framework/hooks/specs.py#L332), so plugins system registers plugin's config loader as the only one if the plugin is installed (see: https://pluggy.readthedocs.io/en/stable/#first-result-only). This makes it impossible to use project-local hook -> it is simply never called.One of the ways to fix the issue is to disable hooks for the plugin using
DISABLE_HOOKS_FOR_PLUGINS
insettings.py
of the project, but this is not elegant solution. Instead, the plugin's related config loader should be used only withinkedro kubeflow ...
commands context.Same issue affects kedro-airflow-k8s