You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ka...@apache.org on 2020/08/15 03:32:48 UTC

[airflow] 13/47: Limit all google-cloud api to <2.0.0 (#10317)

This is an automated email from the ASF dual-hosted git repository.

kaxilnaik pushed a commit to branch v1-10-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit a4113833c5bd2a1f97f15fc2852d2c2c9d807dfb
Author: Jarek Potiuk <ja...@polidea.com>
AuthorDate: Thu Aug 13 13:58:02 2020 +0200

    Limit all google-cloud api to <2.0.0 (#10317)
    
    Google Cloud APIs introduced breaking changes in 2.0.0
    (https://github.com/googleapis/python-container/blob/master/UPGRADING.md)
    and they already caused a number of changes. We should (for now - before
    we migrate to 2.0+ ) limit all our google-cloud deps to <2.0.0
    
    Fixes #10316
    
    (cherry picked from commit a74a7da2c4cd668357ac5e16f052e05b77064add)
---
 setup.py | 26 +++++++++++++-------------
 1 file changed, 13 insertions(+), 13 deletions(-)

diff --git a/setup.py b/setup.py
index e16b1cd..159a420 100644
--- a/setup.py
+++ b/setup.py
@@ -251,21 +251,21 @@ flask_oauth = [
 ]
 gcp = [
     'PyOpenSSL',
-    'google-api-python-client>=1.6.0, <2.0.0dev',
-    'google-auth>=1.0.0, <2.0.0dev',
+    'google-api-python-client>=1.6.0, <2.0.0',
+    'google-auth>=1.0.0, <2.0.0',
     'google-auth-httplib2>=0.0.1',
-    'google-cloud-bigtable>=1.0.0',
-    'google-cloud-container>=0.1.1,<2.0',
-    'google-cloud-dlp>=0.11.0',
-    'google-cloud-language>=1.1.1',
-    'google-cloud-secret-manager>=0.2.0',
-    'google-cloud-spanner>=1.10.0',
-    'google-cloud-speech>=0.36.3',
-    'google-cloud-storage>=1.16',
+    'google-cloud-bigtable>=1.0.0,<2.0.0',
+    'google-cloud-container>=0.1.1,<2.0.0',
+    'google-cloud-dlp>=0.11.0,<2.0.0',
+    'google-cloud-language>=1.1.1,<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.16,<2.0.0',
     'google-cloud-texttospeech>=0.4.0,<2',
-    'google-cloud-translate>=1.3.3',
-    'google-cloud-videointelligence>=1.7.0',
-    'google-cloud-vision>=0.35.2',
+    'google-cloud-translate>=1.3.3,<2.0.0',
+    'google-cloud-videointelligence>=1.7.0,<2.0.0',
+    'google-cloud-vision>=0.35.2,<2.0.0',
     'grpcio-gcp>=0.2.2',
     'pandas-gbq',
 ]