-
Notifications
You must be signed in to change notification settings - Fork 912
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
ContextualVersionConflict Error Stop Kedro running when dependency clashes #1487
Comments
@AntonyMilneQB - please review. |
I think this shows up even when we do |
I can reproduce the error with these steps. conda create -n test python==3.8.5
conda activate test
pip install kedro kedro-viz
pip install pip==21.0.0
kedro new conda create -n test python==3.8.5
conda activate test
pip install kedro kedro-viz
pip install plotly<4.0 # kedro-viz requires >=4.0
kedro new
|
@rashidakanchwala Is this a Databricks specific issue or it would happen locally too? |
This is indeed not a databricks (or kedro-viz) specific issue, but rather something related to plugins in general. I believe the solution would be to change these lines kedro/kedro/framework/cli/utils.py Lines 334 to 337 in 676600c
to instead catch the error and emit a warning rather than throw a KedroCliError . There might be other places in the codebase where we should make the same change (e.g. _init_plugins ).
|
Have a quick look this morning, maybe tricker than I thought. Seems like this is not the only way the entrypoint is loaded, the |
@noklam Could you explain that a bit more? 🤔 |
Description
ContextualVersionConflict error arises on two ocassions when using Kedro :-
Steps to Reproduce on Databricks
Steps to Reproduce outside Databricks
Actual Result
Expected Result
Instead of an error message which breaks Kedro, it should just display a warning maybe?
Your Environment
Include as many relevant details about the environment in which you experienced the bug:
pip show kedro
orkedro -V
): 0.18python -V
): 3.8The text was updated successfully, but these errors were encountered: