potiuk commented on issue #32686:
URL: https://github.com/apache/airflow/issues/32686#issuecomment-1656891366

   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 `main` so it should be quite safe to upgrade it (though of 
course you should test if it works in your case, ideally on staging environment 
of yours). Just follow the docs of ours - where we explain how to install and 
upgrade airflow depenendencies after installing airflow "with constraints" 
https://airflow.apache.org/docs/apache-airflow/stable/installation/installing-from-pypi.html#managing-providers-separately-from-airflow-core
 
   
   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:
   
   * if you want to rely on the set of dependencies that community releases - 
you just upgrade to latest version of Airflow with all the goodies /provider 
version it comes with - latest and gratest
   * or if you need ot update those dependencies out-of-band - follow the 
instructions we gave to our users so that they can follow them on their own and 
selectively update what they need.
   
   
   converting to discussion if more is needed.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to