diff --git a/utils/python/utils.go b/utils/python/utils.go index 7a599b28a..e9766c4f3 100644 --- a/utils/python/utils.go +++ b/utils/python/utils.go @@ -89,15 +89,15 @@ func ConfigPoetryRepo(url, username, password, configRepoName string) error { if err = addRepoToPyprojectFile(filepath.Join(currentDir, pyproject), configRepoName, url); err != nil { return err } - return poetryUpdate() + return poetryInstall() } -func poetryUpdate() (err error) { - log.Info("Running Poetry update") - cmd := io.NewCommand("poetry", "update", []string{}) +func poetryInstall() (err error) { + log.Info("Running Poetry install") + cmd := io.NewCommand("poetry", "install", []string{}) err = gofrogcmd.RunCmd(cmd) if err != nil { - return errorutils.CheckErrorf("Poetry config command failed with: %s", err.Error()) + return errorutils.CheckErrorf("Poetry install command failed with: %s", err.Error()) } return }