Skip to content
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

kedro new --starter <local template> doesn't work offline #4388

Open
ankatiyar opened this issue Dec 19, 2024 · 0 comments · May be fixed by #4389
Open

kedro new --starter <local template> doesn't work offline #4388

ankatiyar opened this issue Dec 19, 2024 · 0 comments · May be fixed by #4389
Assignees

Comments

@ankatiyar
Copy link
Contributor

Description

Reported by user on Slack: https://kedro.hall.community/kedro-new-command-fails-due-to-offline-environment-v8JlcFqqmr0T

The Kedro new command pointing to the local copy of a starter template doesn't work without an internet connection.
From a brief investigation, it seems like this regression was introduced in #3900 in Kedro 0.19.7 where the fallback mechanism was added. When there's no connection, the function _get_latest_starters_version() returns an empty string which throws the Invalid Version error in

return parse(version) <= parse(starters_version)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

Successfully merging a pull request may close this issue.

1 participant