diff --git a/bundle/python/warning.go b/bundle/python/warning.go index 59c220a0..3da88b0d 100644 --- a/bundle/python/warning.go +++ b/bundle/python/warning.go @@ -25,7 +25,7 @@ func (m *wrapperWarning) Apply(ctx context.Context, b *bundle.Bundle) diag.Diagn } if hasIncompatibleWheelTasks(ctx, b) { - return diag.Errorf("python wheel tasks with local libraries require compute with DBR 13.1+. Please change your cluster configuration or set experimental 'python_wheel_wrapper' setting to 'true'") + return diag.Errorf("Python wheel tasks require compute with DBR 13.3+ to include local libraries. Please change your cluster configuration or use the experimental 'python_wheel_wrapper' setting. See https://docs.databricks.com/dev-tools/bundles/python-wheel.html for more information.") } return nil } diff --git a/bundle/python/warning_test.go b/bundle/python/warning_test.go index 990545ab..dd6397f7 100644 --- a/bundle/python/warning_test.go +++ b/bundle/python/warning_test.go @@ -102,7 +102,7 @@ func TestIncompatibleWheelTasksWithJobClusterKey(t *testing.T) { require.True(t, hasIncompatibleWheelTasks(context.Background(), b)) diags := bundle.Apply(context.Background(), b, WrapperWarning()) - require.ErrorContains(t, diags.Error(), "python wheel tasks with local libraries require compute with DBR 13.1+.") + require.ErrorContains(t, diags.Error(), "require compute with DBR 13.3") } func TestIncompatibleWheelTasksWithExistingClusterId(t *testing.T) {