You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2020/06/09 09:04:42 UTC

[airflow] 29/36: Restrict google-cloud-texttospeach to
This is an automated email from the ASF dual-hosted git repository.

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

commit 86eeb00f47a93b3ab2abc7e39c29c20d04e9dccb
Author: Ash Berlin-Taylor <as...@firemirror.com>
AuthorDate: Thu Jun 4 14:15:24 2020 +0100

    Restrict google-cloud-texttospeach to <v2 (#9137)
    
    Version 2 of this library causes the following pylint errors:
    
    > airflow/providers/google/cloud/hooks/text_to_speech.py:59:27: E1123: Unexpected keyword argument 'client_info' in constructor call (unexpected-keyword-arg)
    > airflow/providers/google/cloud/hooks/text_to_speech.py:99:15: E1123: Unexpected keyword argument 'input_' in method call (unexpected-keyword-arg)
    
    (cherry picked from commit aa8990031d15b5c5b66fd9fb4b483d938e656bde)
---
 setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index 5b279f0..459fa1d 100644
--- a/setup.py
+++ b/setup.py
@@ -260,7 +260,7 @@ gcp = [
     'google-cloud-spanner>=1.10.0',
     'google-cloud-speech>=0.36.3',
     'google-cloud-storage>=1.16',
-    'google-cloud-texttospeech>=0.4.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',