Ben Shaughnessy
03/14/2025, 3:17 PMHall
03/14/2025, 3:17 PMMerel
03/14/2025, 3:18 PMkedro new
flow. There's also https://github.com/kedro-org/awesome-kedro which contains a list of example projects created by users.Yetunde
03/14/2025, 3:41 PMBen Shaughnessy
03/14/2025, 3:58 PMKedro project template not found at my_kedro_starter. Specified tag 0.19.10. The following tags are available: . The aliases for the official Kedro starters are:
- astro-airflow-iris
- databricks-iris
- spaceflights-pandas
- spaceflights-pandas-viz
- spaceflights-pyspark
- spaceflights-pyspark-viz
Im able to install one of these fine... but not my own.
We have tried using: kedro new --starter git+<http://github.com/username/my-repo.git>
and also tried creating a plugin.py in a local folder like:
# plugin.py
from kedro.framework.cli.starters import KedroStarterSpec
starters = [
KedroStarterSpec(
alias="default_ds_starter",
template_path="<https://github.com/MY-ORG/my-kedro-starter/>",
directory="default-starter",
)
]
then running:
kedro new --starter default_ds_starter
which gives the same errorMerel
03/14/2025, 4:29 PMkedro new --starter git+<http://github.com/username/my-repo.git> --directory default-starter
Ben Shaughnessy
03/31/2025, 10:06 PM--checkout
command?
Im trying to --checkout my-branch-name
which seems to successfully work with cookiecutter (the temp dir has my git repo and the correct branch)
but later on in the process, I get an error saying
File "C:\Users\bshaughnessy\AppData\Local\miniconda3\envs\py311-ryi-margin-model\Lib\site-packages\kedro\framework\cli\starters.py", line 467, in _get_cookiecutter_dir
raise KedroCliError(...)
Specified tag poc-starter. The following tags are available: . The aliases for the official Kedro starters are:
- astro-airflow-iris
- databricks-iris
- spaceflights-pandas
- spaceflights-pandas-viz
- spaceflights-pyspark
- spaceflights-pyspark-viz
with command:
kedro new --starter git@github.com:COMPANY/kedro-starter.git --directory default-starter --checkout my-branch-name --verbose
If im understanding correctly - its treating the branch name and tag name interchangeably, preventing me from using any branches (unless I name it something like spaceflights-pandas
)
This seems like a bug no?Ben Shaughnessy
03/31/2025, 10:08 PMkedro new --starter C:\Users\bshaughnessy\code\starter-repo\default-starter
I get:
kedro.framework.cli.utils.KedroCliError: Kedro project template not found at C:\Users\bshaughnessy\code\dsg-kedro-starters\default-starter. Specified tag 0.19.8. The following tags are available: . The aliases for the official Kedro starters are:
- astro-airflow-iris
- databricks-iris
- spaceflights-pandas
- spaceflights-pandas-viz
- spaceflights-pyspark
- spaceflights-pyspark-viz
note I am not specifying a tag - and the default value is failing