From b7a7eb3c0d800423425609de60336203539af7d4 Mon Sep 17 00:00:00 2001 From: Jarek Potiuk Date: Tue, 23 Aug 2022 00:00:46 +0200 Subject: [PATCH] Limit Google Protobuf for compatibility with biggtable client The bigtable client does not work well with protobuf > 3.20.0 and it should be limited until we solve the problem. --- airflow/providers/google/provider.yaml | 3 +++ generated/provider_dependencies.json | 1 + 2 files changed, 4 insertions(+) diff --git a/airflow/providers/google/provider.yaml b/airflow/providers/google/provider.yaml index 4b050b714f739..a8a08f3da88f6 100644 --- a/airflow/providers/google/provider.yaml +++ b/airflow/providers/google/provider.yaml @@ -110,6 +110,9 @@ dependencies: # A transient dependency of google-cloud-bigquery-datatransfer, but we # further constrain it since older versions are buggy. - proto-plus>=1.19.6 + # Google bigtable client require protobuf <= 3.20.0. We can remove the limitation + # when this limitation is removed + - protobuf<=3.20.0 integrations: - integration-name: Google Analytics360 diff --git a/generated/provider_dependencies.json b/generated/provider_dependencies.json index afb04628331c9..3bcf75c9fb194 100644 --- a/generated/provider_dependencies.json +++ b/generated/provider_dependencies.json @@ -337,6 +337,7 @@ "pandas-gbq", "pandas>=0.17.1", "proto-plus>=1.19.6", + "protobuf<=3.20.0", "sqlalchemy-bigquery>=1.2.1" ], "cross-providers-deps": [