-
Notifications
You must be signed in to change notification settings - Fork 926
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
[Needs User Input!] Is there demand for a kedro-tools
plugin?
#1622
Comments
This sounds very similar to how our template looks, we ripped out the entire cli from the default template, put it in a library, and replaced it with I'm personally all in on this. |
If the above were to be implemented, what users would do I'm also copying my full, initial response to the above proposal below for visibility:
|
On a slightly different note, I do think a |
How different would these starters be in practice? Is it just a different |
@deepyaman The research outcome shows that hardly any of our users really actively use the tool commands like |
@MerelTheisenQB But, from the way I read the research, you don't know why users aren't using commands like |
#2075 is also in favour of an external plugin (specifically for build-docs in this case) |
Yes, I think the point is: if we are to effectively move forward with the deprecation decision and remove these commands, it would be nice if we offered a migration path for folks that still want to use them. |
This ticket hasn't attracted a lot of input from the community. It also overlaps a lot with the utilities workflow: #2388 I am closing this issue as something we're not building right now. Let's see what the feedback is on the revamped |
One of the suggestions made after researching the use of kedro CLI commands that can be considered as tools (e.g.
kedro lint
,kedro jupyter convert
..) was to move these CLI commands to a separate plugin:kedro-tools
/kedro-with-tools
(name is tbd)We'd like to get users' opinions on the following proposal. Keep in mind that as was decided in the original research, all the following CLI commands will be removed:
kedro lint
,kedro test
,kedro build-docs
,kedro build-reqs
,kedro jupyter convert
,kedro activate nbstripout
(Below was originally written by @AntonyMilneQB on the research issue)
Proposal
We strip out all these commands from core kedro, all our current starters, remove packages from requirements.txt, etc.
We (or someone else) make a new plugin
kedro-with-tools
(name completely made up for now) that includes:kedro tools
group of commands (like thekedro dev
group I said above) includinglint
,test
,build-docs
, whateverkedro with-tools-starter
) that is heavier than the core one and includes any required configuration (e.g. pyproject.toml, .pre-commit-config.yaml). Along these lines: add simple starter kedro-starters#40Important note: I say "we or someone else" because I think could be a very good candidate for an unofficial community-maintained plugin. Or we could get it started and then hand over, or we could maintain it but be much more relaxed in accepting updates than we are with the core kedro template.
User journey
Note that
pip install
immediately makes the newkedro-with-tools-starter
alias available thanks to #1592.Starting a new project:
In existing project:
Pros
kedro pipeline
,kedro catalog
become much more discoverable because they're not hidden among lower-level commands all sitting at the same levelkedro lint
etc. commands. These are hard to keep up to date since best practice Python tooling changes (e.g. sphinx; this article. The current "recommendations" we make through the project template are kind of arbitrary (e.g. why do we doisort
but notmypy
in lint? Just because we haven't updated it for ages I think). We're not really best placed to judge what are the best tools, and it's always changing. If this is community maintained then we don't need to worry about staying on top of it at all!kedro-datasets
, i.e. a lean core which is extendiblepip install
. None of the current functionality is actually lost - it's just moved. In fact, user will have access to better, more up to date versions of these commandsReferences that inspired this idea: #826; #844 (reply in thread); kedro-org/kedro-starters#40
Cons
kedro
. On the other hand, discoverability of the "core" kedro commands is enhancedlint
etc. commands. @yetudada above didn't see this is a problem. Given how few people use the commands, I don't think they can be a major part of the kedro value propositionThe text was updated successfully, but these errors were encountered: