question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Migrate to kedro>=0.17.0

See original GitHub issue

Description

The new kedro==0.17.0 version is out and comes with its share of breaking changes.

Context

It is important to keep the plugin up to date with kedro to avoid deprecation and increase adoption. It will also enable to adopt some highly demanded feature (e.g. #92 and maybe #124)

Possible Implementation

Most of the breaking changes comes from the context which is now contained in a KedroSession object. It must be updated all over the codebase.

The release notes must be read in details to see if some other changes are needed.

TODO

  • Bump requirements
  • Change the config_dir fixture accordingly to the new template for the tests
  • utils:
  • config:
    • Update validate_uri which should dynamically get project_path from KedroSession
    • Update setup to avoid avoid passing context as argument (retrieve from KedroSession inside the function)
  • cli:
    • Replace call to load_context() by KedroSession.create()
    • Update to the new utility to retrieve metadata
  • hooks:
    • Replace calls to load_context() by get_current_session()
  • Update all tests to replace calls to load_context() by KedroSession.create()
  • Update documentation

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
arnaldog12commented, Mar 9, 2021

Hi, @Galileo-Galilei I’ll try it in the next few days. Thanks!

2reactions
arnaldog12commented, Mar 10, 2021

Hi, @Galileo-Galilei I have just tested the kedro-mlflow version you sent to me in an existing project. It worked very well! Good job! Congrats on that!

I can also take a look at the PR if you want. Just let me know. Best regards,

Read more comments on GitHub >

github_iconTop Results From Across the Web

Kedro 0.17.1 documentation - Read the Docs
Kedro is a framework that makes it easy to build robust and scalable data pipelines by providing uniform project templates, data abstraction, configuration...
Read more >
Migrate Kedro Pipeline on Vertex AI | by Ivan Nardini - Medium
Now, we should have all we need to containerize the Kedro project and deploy it using Kubeflow Pipelines. Based on the original documentation, ......
Read more >
kedro-mlflow - PyPI
A kedro-plugin to use mlflow in your kedro projects. ... It offers a convenient API to convert a Kedro pipeline to a model...
Read more >
Why and How to Use Configuration Environments - YouTube
In this series, we will be covering Kedro and... ... Why and How to Use Configuration Environments - Writing Data Pipelines with Kedro...
Read more >
Newest 'kedro' Questions - Stack Overflow
I have to call Kedro nodes or pipelines in Django API, and need to use Kedro pipelines or nodes ... 17. asked Dec...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found