Skip to content

Kedro integration incompatible with stable Kedro 1.0.0 #1446

@erwinpaillacan

Description

@erwinpaillacan

Description

In the vizro.integrations.kedro._data_manager.py module, the extra_params argument used during session creation is deprecated.
Starting from Kedro 1.0.0, this parameter has been replaced by runtime_params.

As a result, the current integration fails when used with the stable release of Kedro (v1.0.0+).

Affected Code

File: [vizro-core/src/vizro/integrations/kedro/_data_manager.py](https://github.com/mckinsey/vizro/blob/3243dfef4bde942b078c1ccb3d1904886aa7f14d/vizro-core/src/vizro/integrations/kedro/_data_manager.py#L40C66-L40C91)

# Current (deprecated)
session = KedroSession.create(project_path, extra_params=params)

Expected Behavior

The integration should use the new runtime_params argument:

session = KedroSession.create(project_path, runtime_params=params)

References

Suggested Fix

Update all occurrences of extra_paramsruntime_params to maintain compatibility with Kedro ≥ 1.0.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions