diff --git a/cmd/labs/project/installer.go b/cmd/labs/project/installer.go index 92dfe9e7..39ed9a96 100644 --- a/cmd/labs/project/installer.go +++ b/cmd/labs/project/installer.go @@ -132,14 +132,14 @@ func (i *installer) Upgrade(ctx context.Context) error { if err != nil { return fmt.Errorf("record version: %w", err) } - err = i.runInstallHook(ctx) - if err != nil { - return fmt.Errorf("installer: %w", err) - } err = i.installPythonDependencies(ctx, ".") if err != nil { return fmt.Errorf("python dependencies: %w", err) } + err = i.runInstallHook(ctx) + if err != nil { + return fmt.Errorf("installer: %w", err) + } return nil }