You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by tv...@apache.org on 2022/07/25 22:46:35 UTC

[beam] branch master updated: Update the upper bound for google-cloud-recommendations-ai. (#22398)

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

tvalentyn pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new 83fd0f47420 Update the upper bound for google-cloud-recommendations-ai. (#22398)
83fd0f47420 is described below

commit 83fd0f47420d4ddeb72dfdcbef5d528c508de147
Author: BjornPrime <32...@users.noreply.github.com>
AuthorDate: Mon Jul 25 18:46:30 2022 -0400

    Update the upper bound for google-cloud-recommendations-ai. (#22398)
    
    Co-authored-by: Valentyn Tymofieiev <va...@google.com>
    Co-authored-by: Bjorn Pedersen <em...@example.co>
---
 sdks/python/apache_beam/testing/load_tests/load_test_metrics_utils.py | 2 +-
 sdks/python/apache_beam/utils/retry.py                                | 2 +-
 sdks/python/setup.py                                                  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sdks/python/apache_beam/testing/load_tests/load_test_metrics_utils.py b/sdks/python/apache_beam/testing/load_tests/load_test_metrics_utils.py
index 0099d462af9..6e79ff19421 100644
--- a/sdks/python/apache_beam/testing/load_tests/load_test_metrics_utils.py
+++ b/sdks/python/apache_beam/testing/load_tests/load_test_metrics_utils.py
@@ -54,7 +54,7 @@ try:
 except ImportError:
   bigquery = None
   SchemaField = None
-  NotFound = None
+  NotFound = None  # type: ignore
 
 RUNTIME_METRIC = 'runtime'
 COUNTER_LABEL = 'total_bytes_count'
diff --git a/sdks/python/apache_beam/utils/retry.py b/sdks/python/apache_beam/utils/retry.py
index a6cde4a2a12..6eed2900b9a 100644
--- a/sdks/python/apache_beam/utils/retry.py
+++ b/sdks/python/apache_beam/utils/retry.py
@@ -44,7 +44,7 @@ try:
   from google.api_core.exceptions import GoogleAPICallError
 except ImportError as e:
   HttpError = None
-  GoogleAPICallError = None
+  GoogleAPICallError = None  # type: ignore
 
 # Protect against environments where aws tools are not available.
 # pylint: disable=wrong-import-order, wrong-import-position, ungrouped-imports
diff --git a/sdks/python/setup.py b/sdks/python/setup.py
index a743ff3210d..ef8f73a0477 100644
--- a/sdks/python/setup.py
+++ b/sdks/python/setup.py
@@ -281,7 +281,7 @@ if __name__ == '__main__':
             'google-cloud-language>=1.3.0,<2',
             'google-cloud-videointelligence>=1.8.0,<2',
             'google-cloud-vision>=0.38.0,<2',
-            'google-cloud-recommendations-ai>=0.1.0,<=0.2.0'
+            'google-cloud-recommendations-ai>=0.1.0,<0.8.0'
           ],
           'interactive': [
             'facets-overview>=1.0.0,<2',