mirror of https://github.com/databricks/cli.git
Update Python dependencies before install when upgrading a labs project (#1624)
The install script might require the up-to-date Python dependencies, explained in more detail in the referenced issue below Fixes #1623 ## Tests ! Need support with testing !
This commit is contained in:
parent
e6241e196f
commit
9dbb58e821
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue