Tenacity breaking change
Closed this issue · 2 comments
I'm currently testing the Cloudera Airlfow plugins on Airflow 2.3.2 which pins tenacity to tenacity>=6.2
.
Currently there is an issue with the CDEHook RetryHandler I've discovered. The __call__
function does not correctly handle the updated versions of tenacity that call the retry handler with retrystate
parameter. This causes the code to break and error with TypeError: __call__() got an unexpected keyword argument 'retry_state'
.
Tenacity updated the iter
function of BaseRetrying class.
This seems to block using the CDEOperator for Airflow 2.3.2
Hello Vethorm, we are going to release a new version of the provider which should fix this issue if I recall well. Will keep you updated.
Hello @Vethorm version 1.0.2 of the plugin has been released in Pypi.org, it should contain the fix for this issue