-
Apache Airflow versionOther Airflow 2 version (please specify below) What happenedIn airflow version 2.6.2 and 2.6.3, there's a constrain like following. But protobuf with version above 3.20.x, it return failure log like following. I suggest fixing the constrain about protobuf with version 3.20.1
What you think should happen insteadNo response How to reproduceusing 'from airflow.providers.google.common.hooks.base_google import GoogleBaseHook' with protobuf above 3.20.x Operating SystemmacOS 13.0 Versions of Apache Airflow Providersapache-airflow-providers-google==10.2.0 DeploymentOfficial Apache Airflow Helm Chart Deployment detailsNo response Anything elseNo response Are you willing to submit PR?
Code of Conduct
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
No. Google client libraries deliberately moved to Protobuf 4. Protobuf 3 is end of life already so there is no way we are going to set it in constraints. If this is a problem, then this is a problem with cloud logging library compiled with protobuf that are already end of life. We have no control over 3rd-party libraries like google logging. It the version that has been fixed in our constraints had protobuf3 -compiled code, then it's the problem of theirs not ours. The good news is that Airflow mechanism of constraint is prepared and gives yout ways to fix it. You are free to upgrade those dependncies that have some features that might be limiting you. You can definitely try to upgrade to latest version of google provider and especially to the latest google logging library 3..6.0 that has been released 14th of July in the hopes it will work. In fact it is already tested and runs in Or you can also upgrade to 2.7.0 when it is out (likely in the next few weeks) if you are willing to wait - we are automatically upgrading the dependencies of ours to latest "compatible versions" and every new relase of airflow will have upgraded dependencies - so if you prefer to base on what community provides, wait for 2.7.0. Those are basicaly two choices you have:
converting to discussion if more is needed. |
Beta Was this translation helpful? Give feedback.
No. Google client libraries deliberately moved to Protobuf 4. Protobuf 3 is end of life already so there is no way we are going to set it in constraints. If this is a problem, then this is a problem with cloud logging library compiled with protobuf that are already end of life.
We have no control over 3rd-party libraries like google logging. It the version that has been fixed in our constraints had protobuf3 -compiled code, then it's the problem of theirs not ours.
The good news is that Airflow mechanism of constraint is prepared and gives yout ways to fix it.
You are free to upgrade those dependncies that have some features that might be limiting you. You can definitely try to upgrade to…