-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make Kedro-Viz compatible with previous Kedro with 'DataSet' #1445
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the way 👍
Left a comment about another upcoming deprecation.
a3fc436
to
e9e9d73
Compare
@rashidakanchwala @astrojuanlu I think #1447 should work (there's one lint error, I honestly am not seeing why off the top of my head), but it would require releasing Kedro with the type hint changes in kedro-org/kedro#2788. So, until it's released, will ignore the errors. I'll make the changes on this branch now to ignore. |
8d63d11
to
0f21fe7
Compare
finally, thanks @deepyaman @astrojuanlu and @merelcht -- can we pls review this! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍🏽
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💥
It's a patch release to fix Kedro-viz backward compatibility issue with Kedro and also fix compatibility with strawberry-graphql. Below are release notes : Bump strawberry-graphql to at least version 0.192 to support the new strawberry.union syntax. (Fix strawberry-graphql union error. #1441) Resolve the incompatibility between Kedro-Viz and Kedro versions prior to 0.18.11. (Make Kedro-Viz compatible with previous Kedro with 'DataSet' #1445)
Description
In Kedro version 0.18.11, 'DataSet' was changed to 'Dataset' in several places. This change was also reflected in Kedro-viz to align with the latest Kedro version. However, this created compatibility issues for users who are using the latest Kedro-viz with a previous version of Kedro.
To address this problem and ensure Kedro-viz supports older versions of Kedro. In this PR, we handle the situation by attempting to import the newer 'Dataset' first. If an ImportError is raised, indicating that the newer version is not available, we catch the error and import the older 'DataSet' instead.
Development notes
QA notes
Checklist
RELEASE.md
file