Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add fallback to starters pull on kedro new (#3900)
* Add fallback to starters pull on kedro new Signed-off-by: lrcouto <[email protected]> * Lint Signed-off-by: lrcouto <[email protected]> * Add types-requests for mypy Signed-off-by: lrcouto <[email protected]> * allow checkout flag to be used for different starters version Signed-off-by: lrcouto <[email protected]> * Attempt to fix e2e tests Signed-off-by: lrcouto <[email protected]> * Store starters version on env variable Signed-off-by: lrcouto <[email protected]> * Add unit tests Signed-off-by: lrcouto <[email protected]> * Fix unit tests Signed-off-by: lrcouto <[email protected]> * Add requests_mock Signed-off-by: lrcouto <[email protected]> * Catch exception if request fails Signed-off-by: lrcouto <[email protected]> * Lint Signed-off-by: lrcouto <[email protected]> * Change error condition on _get_latest_starters_version Signed-off-by: lrcouto <[email protected]> * Change env variable name to be more specific Signed-off-by: lrcouto <[email protected]> * Set all starter options to pull from main if versions don't match Signed-off-by: lrcouto <[email protected]> * Add tests to cover changes on _make_cookiecutter_args_and_fetch_template Signed-off-by: lrcouto <[email protected]> * remove redundant assignments Signed-off-by: lrcouto <[email protected]> * Changes on logic for fetching templates Signed-off-by: lrcouto <[email protected]> * Lint Signed-off-by: lrcouto <[email protected]> * Update test to match changes on template fetching Signed-off-by: lrcouto <[email protected]> * Change logic of version comparison, add tests Signed-off-by: lrcouto <[email protected]> * Extract checkout logic to its own function Signed-off-by: lrcouto <[email protected]> --------- Signed-off-by: lrcouto <[email protected]> Signed-off-by: L. R. Couto <[email protected]>
- Loading branch information