potiuk commented on code in PR #32925:
URL: https://github.com/apache/airflow/pull/32925#discussion_r1278823503
##########
airflow/providers/amazon/aws/transfers/gcs_to_s3.py:
##########
@@ -31,6 +34,9 @@
from airflow.utils.context import Context
+google_provider_version = version("apache-airflow-providers-google")
Review Comment:
We have to also handle the case where google provider is installed from
sources (editable install). Better check is where we do `from
apache.airflow.providers.google import __version__`.
It's a relatively new addition - and we have to `try/exceptImportError` for
it and handle "unknown" version - but it's been addedd in 10.1.0 version of
Google, so checking for '< 10.3.0 or unknown` should be OK.
--
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]