-
Notifications
You must be signed in to change notification settings - Fork 893
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
Assess how intrusive the dataset deprecation warnings are #3107
Comments
When using the latest
Since these warnings come from core Kedro, they can't change anything in their code to make these warnings go away. I personally don't think it's the effort to change these deprecation warnings, because they'll be gone in |
Let me know what you think of keeping it this way and just suggest |
@merelcht I cannot reproduce this behavior. Steps that I have taken:
|
I got the warnings on |
That's odd! I just tried on GitPod as well and I can see them 😅 Are you sure it installed |
I am okay with keeping it but I am of the opinion that we should silence the warnings coming from these imports within Kedro if we can before the release. It shows up with most of the CLI commands, even While doing the tutorial during the bootcamp, I realised that it must look very strange to a beginner user. There's at least five even after you fix everything you can with your project. And someone who is not super familiar with the Kedro code base will be confused about what There will also be people who will stick with the 0.18.x series for a while, and 0.18.14 being the last release of the series, it's not a great experience to see warnings that you can't do anything about, unless you silence all warnings or upgrade to 0.19.0. I also think if you're using starters created with older versions of 0.18.x series, there'll be even more warnings - deprecation of config loaders, other DataSet->Dataset mentioned in your project's catalog. People might end up ignoring all of them instead of fixing the ones they should to make their transition to 0.19.0 smoother. |
I think the difficulty here is that there might be people who are using the core datasets with the old name directly, so if we don't show these warnings at all we are essentially not flagging the deprecations to users.
I agree with the experience not being super nice for beginner users, but there is definitely something they can do which is
True, but those deprecation warnings can be fixed by just using the new |
I'm okay with keeping the deprecation warnings as they are for now. It's going to be a non-issue once we roll out 0.19.0, so I don't think its a big issue for new users. I think for the users sticking with the 0.18.x series, while it might not be the best experience, we just need to make sure we communicate the workaround clearly to them. |
Fair point, I don't really mind keeping things as they are. A straightforward solution is in
|
Thanks @ankatiyar, I think that's a good suggestion! I'll create a PR for it. |
Description
We've added deprecation warning for the dataset renames e.g.
CSVDataSet
toCSVDataset
. It seems that these deprecation warnings appear even if you don't explicitly import/use datasets in your project. These come fromkedro.io
. This might be annoying to users.Task
0.19.0
is released.The text was updated successfully, but these errors were encountered: