Skip to content
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 build compatible with Kedro 18 #1716

Merged
merged 1 commit into from
Jan 24, 2024

Conversation

rashidakanchwala
Copy link
Contributor

Description

If you are using Kedro 18 and attempting to use the newly introduced kedro viz build feature, it will fail. This PR resolves this issue.

image

Development notes

The issue arises because Kedro 18 only accepts Paths and not strings as arguments to the get_protocol_and_path() function. This behavior change was introduced in PR #3345. To make get_protocol_and_path() work with both Kedro 18 and 19, we have reinforced casting to a string when calling this function from kedro-core.

QA notes

Checklist

  • Read the contributing guidelines
  • Opened this PR as a 'Draft Pull Request' if it is work-in-progress
  • Updated the documentation to reflect the code changes
  • Added new entries to the RELEASE.md file
  • Added tests to cover my changes


@rashidakanchwala rashidakanchwala changed the title done Make kedro viz build compatible with Kedro 18 Jan 23, 2024
Copy link
Contributor

@jitu5 jitu5 left a comment

Choose a reason for hiding this comment

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

LGTM.

Copy link
Contributor

@ankatiyar ankatiyar left a comment

Choose a reason for hiding this comment

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

LGTM :D

@rashidakanchwala rashidakanchwala merged commit 0d77bb2 into main Jan 24, 2024
18 checks passed
@rashidakanchwala rashidakanchwala deleted the fix/build-compatiable-kedro-18 branch January 24, 2024 10:47
@ravi-kumar-pilla ravi-kumar-pilla mentioned this pull request Mar 4, 2024
5 tasks
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