kosteev commented on code in PR #30067:
URL: https://github.com/apache/airflow/pull/30067#discussion_r1195311400


##########
airflow/providers/google/provider.yaml:
##########
@@ -67,74 +67,59 @@ versions:
 dependencies:
   - apache-airflow>=2.4.0
   - apache-airflow-providers-common-sql>=1.3.1
-  # Google has very clear rules on what dependencies should be used. All the 
limits below
-  # follow strict guidelines of Google Libraries as quoted here:
-  # While this issue is open, dependents of google-api-core, 
google-cloud-core. and google-auth
-  # should preserve >1, <3 pins on these packages.
-  # https://github.com/googleapis/google-cloud-python/issues/10566
-  # Some of Google Packages are limited to <2.0.0 because 2.0.0 releases of 
the libraries
-  # Introduced breaking changes across the board. Those libraries should be 
upgraded soon
-  # TODO: Upgrade all Google libraries that are limited to <2.0.0
   - PyOpenSSL
   - asgiref>=3.5.2
   - gcloud-aio-auth>=4.0.0,<5.0.0
   - gcloud-aio-bigquery>=6.1.2
   - gcloud-aio-storage
-  # needed by vendored-in google-ads
-  - googleapis-common-protos<2.0.0,>=1.5.8
-  - google-api-core==2.8.2
-  - google-auth-oauthlib<1.0.0,>=0.3.0
-  - grpcio<2.0.0,>=1.38.1
-  - grpcio-status<2.0.0,>=1.38.1
-  - PyYAML<7.0,>=5.1
-  - proto-plus==1.19.6
-  - protobuf!=3.18.*,!=3.19.*,<=3.20.0,>=3.12.0
-  # Temporary commented out until we have google-ads vendored-in
-  # - google-ads>=15.1.1
-  # - google-api-core>=2.7.0,<3.0.0
-  - google-api-python-client>=1.6.0,<2.0.0
+  - google-ads>=20.0.0
+  - google-api-core>=2.11.0
+  - google-api-python-client>=1.6.0
   - google-auth>=1.0.0
   - google-auth-httplib2>=0.0.1
-  - google-cloud-aiplatform>=1.13.1,<2.0.0
-  - google-cloud-automl>=2.1.0
-  - google-cloud-bigquery-datatransfer>=3.0.0
-  - google-cloud-bigtable>=2.0.0,<3.0.0
-  - google-cloud-build>=3.0.0
-  - google-cloud-compute>=0.1.0,<2.0.0
-  - google-cloud-container>=2.2.0,<3.0.0
-  - google-cloud-dataflow-client>=0.5.2
-  - google-cloud-dataform>=0.2.0
-  - google-cloud-datacatalog>=3.0.0
-  - google-cloud-dataplex>=0.1.0
-  - google-cloud-dataproc>=3.1.0
-  - google-cloud-dataproc-metastore>=1.2.0,<2.0.0
-  - google-cloud-dlp>=3.0.0
-  - google-cloud-kms>=2.0.0
-  - google-cloud-language>=1.1.1,<2.0.0
-  - google-cloud-logging>=2.1.1
-  - google-cloud-memcache>=0.2.0
-  - google-cloud-monitoring>=2.0.0
-  - google-cloud-os-login>=2.0.0
-  - google-cloud-orchestration-airflow>=1.0.0,<2.0.0
-  - google-cloud-pubsub>=2.0.0
-  - google-cloud-redis>=2.0.0
-  - google-cloud-secret-manager>=0.2.0,<2.0.0
-  - google-cloud-spanner>=1.10.0,<2.0.0
-  - google-cloud-speech>=0.36.3,<2.0.0
-  - google-cloud-storage>=1.30,<3.0.0
-  - google-cloud-tasks>=2.0.0
-  - google-cloud-texttospeech>=0.4.0,<2.0.0
-  - google-cloud-translate>=1.5.0,<2.0.0
-  - google-cloud-videointelligence>=1.7.0,<2.0.0
-  - google-cloud-vision>=0.35.2,<2.0.0
-  - google-cloud-workflows>=0.1.0,<2.0.0
+  - google-cloud-aiplatform>=1.22.1
+  - google-cloud-automl>=2.11.0
+  - google-cloud-bigquery-datatransfer>=3.11.0
+  - google-cloud-bigtable>=2.17.0
+  - google-cloud-build>=3.13.0
+  - google-cloud-compute>=1.10.0
+  - google-cloud-container>=2.17.4
+  - google-cloud-dataflow-client>=0.8.2
+  - google-cloud-dataform>=0.5.0
+  - google-cloud-datacatalog>=3.11.1
+  - google-cloud-dataplex>=1.4.2
+  - google-cloud-dataproc>=5.4.0
+  - google-cloud-dataproc-metastore>=1.10.0
+  - google-cloud-dlp>=3.12.0
+  - google-cloud-kms>=2.15.0
+  - google-cloud-language>=2.9.0
+  - google-cloud-logging>=3.5.0
+  - google-cloud-memcache>=1.7.0
+  - google-cloud-monitoring>=2.14.1
+  - google-cloud-os-login>=2.9.1
+  - google-cloud-orchestration-airflow>=1.7.0
+  - google-cloud-pubsub>=2.15.0
+  - google-cloud-redis>=2.12.0
+  - google-cloud-secret-manager>=2.16.0
+  - google-cloud-spanner>=3.11.1
+  - google-cloud-speech>=2.18.0
+  - google-cloud-storage>=2.7.0
+  - google-cloud-tasks>=2.13.0
+  - google-cloud-texttospeech>=2.14.1
+  - google-cloud-translate>=3.11.0
+  - google-cloud-videointelligence>=2.11.0
+  - google-cloud-vision>=3.4.0
+  - google-cloud-workflows>=1.10.0
   - grpcio-gcp>=0.2.2
   - httpx
   - json-merge-patch>=0.2
   - looker-sdk>=22.2.0
   - pandas-gbq
   - pandas>=0.17.1
   - sqlalchemy-bigquery>=1.2.1
+  # A transient dependency of google-cloud-bigquery-datatransfer, but we
+  # further constrain it since older versions are buggy.
+  - proto-plus>=1.19.6

Review Comment:
   Can you, please, put it in lexicographical order



-- 
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