Since urllib 2.0 was released, our main branch has been broken in the CI:
File /Users/tati/Code/astro-provider-databricks/src/astro_databricks/operators/notebook.py, line 236, in _get_api_client
return ApiClient(
File /Users/tati/Code/astro-provider-databricks/.nox/test-3-10-airflow-2-5/lib/python3.10/site-packages/databricks_cli/sdk/api_client.py, line 106, in __init__
method_whitelist=set({'POST'}) | set(Retry.DEFAULT_METHOD_WHITELIST),
AttributeError: type object 'Retry' has no attribute 'DEFAULT_METHOD_WHITELIST'
Since
urllib
2.0 was released, our main branch has been broken in the CI:Until there is a new databricks-cli release with this fix: https://github.com/databricks/databricks-cli/issues/634
We should pin the version of
urllib
, to avoid this error.Work pending At the moment, our tests are still failing, but due to a different reason. It needs further investigation. Below are some details:
When checking the Databricks UI, we can see the workflow
example_databricks_workflow__test_workflow_tati_1234__notebook_2
failed with error: