Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-google-cloud-translate for openSUSE:Factory checked in at 2022-10-17 14:58:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-google-cloud-translate (Old) and /work/SRC/openSUSE:Factory/.python-google-cloud-translate.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-google-cloud-translate" Mon Oct 17 14:58:44 2022 rev:6 rq:1012097 version:3.8.4 Changes: -------- --- /work/SRC/openSUSE:Factory/python-google-cloud-translate/python-google-cloud-translate.changes 2022-09-13 15:11:17.148962999 +0200 +++ /work/SRC/openSUSE:Factory/.python-google-cloud-translate.new.2275/python-google-cloud-translate.changes 2022-10-17 14:58:46.934217483 +0200 @@ -1,0 +2,9 @@ +Mon Oct 17 09:52:07 UTC 2022 - John Paul Adrian Glaubitz <adrian.glaub...@suse.com> + +- Update to version 3.8.4 + * **deps:** Allow protobuf 3.19.5 (#457) +- from version 3.8.3 + * **deps:** Require protobuf >= 3.20.2 (#452) +- Update BuildRequires and Requires from setup.py + +------------------------------------------------------------------- Old: ---- google-cloud-translate-3.8.2.tar.gz New: ---- google-cloud-translate-3.8.4.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-google-cloud-translate.spec ++++++ --- /var/tmp/diff_new_pack.RH8qmt/_old 2022-10-17 14:58:47.946219427 +0200 +++ /var/tmp/diff_new_pack.RH8qmt/_new 2022-10-17 14:58:47.954219443 +0200 @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-google-cloud-translate -Version: 3.8.2 +Version: 3.8.4 Release: 0 Summary: Google Cloud Translation API client library License: Apache-2.0 @@ -28,7 +28,7 @@ BuildRequires: %{python_module google-api-core >= 1.32.0} BuildRequires: %{python_module google-cloud-core >= 1.3.0} BuildRequires: %{python_module proto-plus >= 1.22.0} -BuildRequires: %{python_module protobuf >= 3.19.0} +BuildRequires: %{python_module protobuf >= 3.19.5} BuildRequires: %{python_module setuptools} # START TESTING SECTION BuildRequires: %{python_module pytest-asyncio} @@ -39,7 +39,7 @@ Requires: python-google-api-core >= 1.32.0 Requires: python-google-cloud-core >= 1.3.0 Requires: python-proto-plus >= 1.22.0 -Requires: python-protobuf >= 3.19.0 +Requires: python-protobuf >= 3.19.5 Requires(post): update-alternatives Requires(postun):update-alternatives BuildArch: noarch ++++++ google-cloud-translate-3.8.2.tar.gz -> google-cloud-translate-3.8.4.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-translate-3.8.2/PKG-INFO new/google-cloud-translate-3.8.4/PKG-INFO --- old/google-cloud-translate-3.8.2/PKG-INFO 2022-09-06 19:59:56.247054800 +0200 +++ new/google-cloud-translate-3.8.4/PKG-INFO 2022-10-10 18:24:14.212258800 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: google-cloud-translate -Version: 3.8.2 +Version: 3.8.4 Summary: Google Cloud Translation API client library Home-page: https://github.com/googleapis/python-translate Author: Google LLC diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-translate-3.8.2/google/cloud/translate_v3/services/translation_service/async_client.py new/google-cloud-translate-3.8.4/google/cloud/translate_v3/services/translation_service/async_client.py --- old/google-cloud-translate-3.8.2/google/cloud/translate_v3/services/translation_service/async_client.py 2022-09-06 19:57:18.000000000 +0200 +++ new/google-cloud-translate-3.8.4/google/cloud/translate_v3/services/translation_service/async_client.py 2022-10-10 18:21:03.000000000 +0200 @@ -224,6 +224,13 @@ .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import translate_v3 async def sample_translate_text(): @@ -232,7 +239,7 @@ # Initialize request argument(s) request = translate_v3.TranslateTextRequest( - contents=['contents_value_1', 'contents_value_2'], + contents=['contents_value1', 'contents_value2'], target_language_code="target_language_code_value", parent="parent_value", ) @@ -418,6 +425,13 @@ .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import translate_v3 async def sample_detect_language(): @@ -566,6 +580,13 @@ .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import translate_v3 async def sample_get_supported_languages(): @@ -715,6 +736,13 @@ .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import translate_v3 async def sample_translate_document(): @@ -800,6 +828,13 @@ .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import translate_v3 async def sample_batch_translate_text(): @@ -816,7 +851,7 @@ request = translate_v3.BatchTranslateTextRequest( parent="parent_value", source_language_code="source_language_code_value", - target_language_codes=['target_language_codes_value_1', 'target_language_codes_value_2'], + target_language_codes=['target_language_codes_value1', 'target_language_codes_value2'], input_configs=input_configs, output_config=output_config, ) @@ -911,6 +946,13 @@ .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import translate_v3 async def sample_batch_translate_document(): @@ -927,7 +969,7 @@ request = translate_v3.BatchTranslateDocumentRequest( parent="parent_value", source_language_code="source_language_code_value", - target_language_codes=['target_language_codes_value_1', 'target_language_codes_value_2'], + target_language_codes=['target_language_codes_value1', 'target_language_codes_value2'], input_configs=input_configs, output_config=output_config, ) @@ -1099,6 +1141,13 @@ .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import translate_v3 async def sample_create_glossary(): @@ -1218,6 +1267,13 @@ .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import translate_v3 async def sample_list_glossaries(): @@ -1336,6 +1392,13 @@ .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import translate_v3 async def sample_get_glossary(): @@ -1442,6 +1505,13 @@ .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import translate_v3 async def sample_delete_glossary(): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-translate-3.8.2/google/cloud/translate_v3/services/translation_service/client.py new/google-cloud-translate-3.8.4/google/cloud/translate_v3/services/translation_service/client.py --- old/google-cloud-translate-3.8.2/google/cloud/translate_v3/services/translation_service/client.py 2022-09-06 19:57:18.000000000 +0200 +++ new/google-cloud-translate-3.8.4/google/cloud/translate_v3/services/translation_service/client.py 2022-10-10 18:21:03.000000000 +0200 @@ -448,6 +448,13 @@ .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import translate_v3 def sample_translate_text(): @@ -456,7 +463,7 @@ # Initialize request argument(s) request = translate_v3.TranslateTextRequest( - contents=['contents_value_1', 'contents_value_2'], + contents=['contents_value1', 'contents_value2'], target_language_code="target_language_code_value", parent="parent_value", ) @@ -642,6 +649,13 @@ .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import translate_v3 def sample_detect_language(): @@ -790,6 +804,13 @@ .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import translate_v3 def sample_get_supported_languages(): @@ -929,6 +950,13 @@ .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import translate_v3 def sample_translate_document(): @@ -1015,6 +1043,13 @@ .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import translate_v3 def sample_batch_translate_text(): @@ -1031,7 +1066,7 @@ request = translate_v3.BatchTranslateTextRequest( parent="parent_value", source_language_code="source_language_code_value", - target_language_codes=['target_language_codes_value_1', 'target_language_codes_value_2'], + target_language_codes=['target_language_codes_value1', 'target_language_codes_value2'], input_configs=input_configs, output_config=output_config, ) @@ -1127,6 +1162,13 @@ .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import translate_v3 def sample_batch_translate_document(): @@ -1143,7 +1185,7 @@ request = translate_v3.BatchTranslateDocumentRequest( parent="parent_value", source_language_code="source_language_code_value", - target_language_codes=['target_language_codes_value_1', 'target_language_codes_value_2'], + target_language_codes=['target_language_codes_value1', 'target_language_codes_value2'], input_configs=input_configs, output_config=output_config, ) @@ -1315,6 +1357,13 @@ .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import translate_v3 def sample_create_glossary(): @@ -1434,6 +1483,13 @@ .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import translate_v3 def sample_list_glossaries(): @@ -1542,6 +1598,13 @@ .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import translate_v3 def sample_get_glossary(): @@ -1638,6 +1701,13 @@ .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import translate_v3 def sample_delete_glossary(): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-translate-3.8.2/google/cloud/translate_v3beta1/services/translation_service/async_client.py new/google-cloud-translate-3.8.4/google/cloud/translate_v3beta1/services/translation_service/async_client.py --- old/google-cloud-translate-3.8.2/google/cloud/translate_v3beta1/services/translation_service/async_client.py 2022-09-06 19:57:18.000000000 +0200 +++ new/google-cloud-translate-3.8.4/google/cloud/translate_v3beta1/services/translation_service/async_client.py 2022-10-10 18:21:03.000000000 +0200 @@ -218,6 +218,13 @@ .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import translate_v3beta1 async def sample_translate_text(): @@ -226,7 +233,7 @@ # Initialize request argument(s) request = translate_v3beta1.TranslateTextRequest( - contents=['contents_value_1', 'contents_value_2'], + contents=['contents_value1', 'contents_value2'], target_language_code="target_language_code_value", parent="parent_value", ) @@ -294,6 +301,13 @@ .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import translate_v3beta1 async def sample_detect_language(): @@ -433,6 +447,13 @@ .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import translate_v3beta1 async def sample_get_supported_languages(): @@ -582,6 +603,13 @@ .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import translate_v3beta1 async def sample_translate_document(): @@ -667,6 +695,13 @@ .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import translate_v3beta1 async def sample_batch_translate_text(): @@ -683,7 +718,7 @@ request = translate_v3beta1.BatchTranslateTextRequest( parent="parent_value", source_language_code="source_language_code_value", - target_language_codes=['target_language_codes_value_1', 'target_language_codes_value_2'], + target_language_codes=['target_language_codes_value1', 'target_language_codes_value2'], input_configs=input_configs, output_config=output_config, ) @@ -778,6 +813,13 @@ .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import translate_v3beta1 async def sample_batch_translate_document(): @@ -794,7 +836,7 @@ request = translate_v3beta1.BatchTranslateDocumentRequest( parent="parent_value", source_language_code="source_language_code_value", - target_language_codes=['target_language_codes_value_1', 'target_language_codes_value_2'], + target_language_codes=['target_language_codes_value1', 'target_language_codes_value2'], input_configs=input_configs, output_config=output_config, ) @@ -966,6 +1008,13 @@ .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import translate_v3beta1 async def sample_create_glossary(): @@ -1086,6 +1135,13 @@ .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import translate_v3beta1 async def sample_list_glossaries(): @@ -1240,6 +1296,13 @@ .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import translate_v3beta1 async def sample_get_glossary(): @@ -1346,6 +1409,13 @@ .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import translate_v3beta1 async def sample_delete_glossary(): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-translate-3.8.2/google/cloud/translate_v3beta1/services/translation_service/client.py new/google-cloud-translate-3.8.4/google/cloud/translate_v3beta1/services/translation_service/client.py --- old/google-cloud-translate-3.8.2/google/cloud/translate_v3beta1/services/translation_service/client.py 2022-09-06 19:57:18.000000000 +0200 +++ new/google-cloud-translate-3.8.4/google/cloud/translate_v3beta1/services/translation_service/client.py 2022-10-10 18:21:03.000000000 +0200 @@ -442,6 +442,13 @@ .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import translate_v3beta1 def sample_translate_text(): @@ -450,7 +457,7 @@ # Initialize request argument(s) request = translate_v3beta1.TranslateTextRequest( - contents=['contents_value_1', 'contents_value_2'], + contents=['contents_value1', 'contents_value2'], target_language_code="target_language_code_value", parent="parent_value", ) @@ -519,6 +526,13 @@ .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import translate_v3beta1 def sample_detect_language(): @@ -658,6 +672,13 @@ .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import translate_v3beta1 def sample_get_supported_languages(): @@ -797,6 +818,13 @@ .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import translate_v3beta1 def sample_translate_document(): @@ -883,6 +911,13 @@ .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import translate_v3beta1 def sample_batch_translate_text(): @@ -899,7 +934,7 @@ request = translate_v3beta1.BatchTranslateTextRequest( parent="parent_value", source_language_code="source_language_code_value", - target_language_codes=['target_language_codes_value_1', 'target_language_codes_value_2'], + target_language_codes=['target_language_codes_value1', 'target_language_codes_value2'], input_configs=input_configs, output_config=output_config, ) @@ -995,6 +1030,13 @@ .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import translate_v3beta1 def sample_batch_translate_document(): @@ -1011,7 +1053,7 @@ request = translate_v3beta1.BatchTranslateDocumentRequest( parent="parent_value", source_language_code="source_language_code_value", - target_language_codes=['target_language_codes_value_1', 'target_language_codes_value_2'], + target_language_codes=['target_language_codes_value1', 'target_language_codes_value2'], input_configs=input_configs, output_config=output_config, ) @@ -1183,6 +1225,13 @@ .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import translate_v3beta1 def sample_create_glossary(): @@ -1303,6 +1352,13 @@ .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import translate_v3beta1 def sample_list_glossaries(): @@ -1447,6 +1503,13 @@ .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import translate_v3beta1 def sample_get_glossary(): @@ -1543,6 +1606,13 @@ .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import translate_v3beta1 def sample_delete_glossary(): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-translate-3.8.2/google_cloud_translate.egg-info/PKG-INFO new/google-cloud-translate-3.8.4/google_cloud_translate.egg-info/PKG-INFO --- old/google-cloud-translate-3.8.2/google_cloud_translate.egg-info/PKG-INFO 2022-09-06 19:59:56.000000000 +0200 +++ new/google-cloud-translate-3.8.4/google_cloud_translate.egg-info/PKG-INFO 2022-10-10 18:24:14.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: google-cloud-translate -Version: 3.8.2 +Version: 3.8.4 Summary: Google Cloud Translation API client library Home-page: https://github.com/googleapis/python-translate Author: Google LLC diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-translate-3.8.2/google_cloud_translate.egg-info/requires.txt new/google-cloud-translate-3.8.4/google_cloud_translate.egg-info/requires.txt --- old/google-cloud-translate-3.8.2/google_cloud_translate.egg-info/requires.txt 2022-09-06 19:59:56.000000000 +0200 +++ new/google-cloud-translate-3.8.4/google_cloud_translate.egg-info/requires.txt 2022-10-10 18:24:14.000000000 +0200 @@ -1,4 +1,4 @@ google-api-core[grpc]!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,<3.0.0dev,>=1.32.0 google-cloud-core<3.0.0dev,>=1.3.0 proto-plus<2.0.0dev,>=1.22.0 -protobuf<5.0.0dev,>=3.19.0 +protobuf!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0dev,>=3.19.5 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-translate-3.8.2/setup.py new/google-cloud-translate-3.8.4/setup.py --- old/google-cloud-translate-3.8.2/setup.py 2022-09-06 19:57:18.000000000 +0200 +++ new/google-cloud-translate-3.8.4/setup.py 2022-10-10 18:21:03.000000000 +0200 @@ -22,7 +22,7 @@ name = "google-cloud-translate" description = "Google Cloud Translation API client library" -version = "3.8.2" +version = "3.8.4" # Should be one of: # 'Development Status :: 3 - Alpha' # 'Development Status :: 4 - Beta' @@ -32,7 +32,7 @@ "google-api-core[grpc] >= 1.32.0, <3.0.0dev,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*", "google-cloud-core >= 1.3.0, <3.0.0dev", "proto-plus >= 1.22.0, <2.0.0dev", - "protobuf >= 3.19.0, <5.0.0dev", + "protobuf>=3.19.5,<5.0.0dev,!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5", ] extras = {} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-translate-3.8.2/tests/unit/gapic/translate_v3/test_translation_service.py new/google-cloud-translate-3.8.4/tests/unit/gapic/translate_v3/test_translation_service.py --- old/google-cloud-translate-3.8.2/tests/unit/gapic/translate_v3/test_translation_service.py 2022-09-06 19:57:18.000000000 +0200 +++ new/google-cloud-translate-3.8.4/tests/unit/gapic/translate_v3/test_translation_service.py 2022-10-10 18:21:03.000000000 +0200 @@ -18,8 +18,8 @@ # try/except added for compatibility with python < 3.8 try: from unittest import mock - from unittest.mock import AsyncMock -except ImportError: + from unittest.mock import AsyncMock # pragma: NO COVER +except ImportError: # pragma: NO COVER import mock import grpc @@ -27,7 +27,7 @@ import math import pytest from proto.marshal.rules.dates import DurationRule, TimestampRule - +from proto.marshal.rules import wrappers from google.api_core import client_options from google.api_core import exceptions as core_exceptions diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-translate-3.8.2/tests/unit/gapic/translate_v3beta1/test_translation_service.py new/google-cloud-translate-3.8.4/tests/unit/gapic/translate_v3beta1/test_translation_service.py --- old/google-cloud-translate-3.8.2/tests/unit/gapic/translate_v3beta1/test_translation_service.py 2022-09-06 19:57:18.000000000 +0200 +++ new/google-cloud-translate-3.8.4/tests/unit/gapic/translate_v3beta1/test_translation_service.py 2022-10-10 18:21:03.000000000 +0200 @@ -18,8 +18,8 @@ # try/except added for compatibility with python < 3.8 try: from unittest import mock - from unittest.mock import AsyncMock -except ImportError: + from unittest.mock import AsyncMock # pragma: NO COVER +except ImportError: # pragma: NO COVER import mock import grpc @@ -27,7 +27,7 @@ import math import pytest from proto.marshal.rules.dates import DurationRule, TimestampRule - +from proto.marshal.rules import wrappers from google.api_core import client_options from google.api_core import exceptions as core_exceptions