Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-google-cloud-speech for
openSUSE:Factory checked in at 2023-12-17 21:32:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-google-cloud-speech (Old)
and /work/SRC/openSUSE:Factory/.python-google-cloud-speech.new.25432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-google-cloud-speech"
Sun Dec 17 21:32:20 2023 rev:15 rq:1133642 version:2.23.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-google-cloud-speech/python-google-cloud-speech.changes
2023-12-06 23:49:54.054933752 +0100
+++
/work/SRC/openSUSE:Factory/.python-google-cloud-speech.new.25432/python-google-cloud-speech.changes
2023-12-17 21:34:44.318846556 +0100
@@ -1,0 +2,9 @@
+Sat Dec 16 20:10:06 UTC 2023 - Dirk Müller <[email protected]>
+
+- update to 2.23.0:
+ * Add support for python 3.12
+ * Introduce compatibility with native namespace packages
+ * Require proto-plus >= 1.22.3 (e9655df)
+ * Use retry_async instead of retry in async client
+
+-------------------------------------------------------------------
Old:
----
google-cloud-speech-2.22.0.tar.gz
New:
----
google-cloud-speech-2.23.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-google-cloud-speech.spec ++++++
--- /var/tmp/diff_new_pack.XC4JO7/_old 2023-12-17 21:34:44.726861381 +0100
+++ /var/tmp/diff_new_pack.XC4JO7/_new 2023-12-17 21:34:44.726861381 +0100
@@ -16,9 +16,9 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%{?sle15_python_module_pythons}
Name: python-google-cloud-speech
-Version: 2.22.0
+Version: 2.23.0
Release: 0
Summary: Google Cloud Speech API client library
License: Apache-2.0
@@ -26,15 +26,16 @@
URL: https://github.com/googleapis/python-speech
Source:
https://files.pythonhosted.org/packages/source/g/google-cloud-speech/google-cloud-speech-%{version}.tar.gz
BuildRequires: %{python_module google-api-core >= 1.34.0}
-BuildRequires: %{python_module proto-plus >= 1.22.2}
+BuildRequires: %{python_module pip}
+BuildRequires: %{python_module proto-plus >= 1.22.3}
BuildRequires: %{python_module protobuf >= 3.19.05}
BuildRequires: %{python_module pytest-asyncio}
BuildRequires: %{python_module pytest}
-BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-google-api-core >= 1.34.0
-Requires: python-proto-plus >= 1.22.2
+Requires: python-proto-plus >= 1.22.3
Requires: python-protobuf >= 3.19.5
BuildArch: noarch
%python_subpackages
@@ -49,10 +50,10 @@
#rm tests/system/gapic/v1p1beta1/test_system_speech_v1p1beta1.py
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -62,5 +63,8 @@
%exclude %{_bindir}/*.py
%license LICENSE
%doc README.rst
-%{python_sitelib}/*
+%{python_sitelib}/google/cloud/speech
+%{python_sitelib}/google/cloud/speech_v1*
+%{python_sitelib}/google/cloud/speech_v2
+%{python_sitelib}/google_cloud_speech-%{version}.dist-info
++++++ google-cloud-speech-2.22.0.tar.gz -> google-cloud-speech-2.23.0.tar.gz
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/google-cloud-speech-2.22.0/PKG-INFO
new/google-cloud-speech-2.23.0/PKG-INFO
--- old/google-cloud-speech-2.22.0/PKG-INFO 2023-11-02 12:20:26.785315000
+0100
+++ new/google-cloud-speech-2.23.0/PKG-INFO 2023-12-07 21:15:55.576730300
+0100
@@ -1,8 +1,8 @@
Metadata-Version: 2.1
Name: google-cloud-speech
-Version: 2.22.0
+Version: 2.23.0
Summary: Google Cloud Speech API client library
-Home-page: https://github.com/googleapis/google-cloud-python
+Home-page:
https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-speech
Author: Google LLC
Author-email: [email protected]
License: Apache 2.0
@@ -17,10 +17,14 @@
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
+Classifier: Programming Language :: Python :: 3.12
Classifier: Operating System :: OS Independent
Classifier: Topic :: Internet
Requires-Python: >=3.7
License-File: LICENSE
+Requires-Dist:
google-api-core[grpc]!=2.0.*,!=2.1.*,!=2.10.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,<3.0.0dev,>=1.34.0
+Requires-Dist: proto-plus<2.0.0dev,>=1.22.3
+Requires-Dist:
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
Python Client for Cloud Speech
==============================
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/google-cloud-speech-2.22.0/google/cloud/speech/gapic_version.py
new/google-cloud-speech-2.23.0/google/cloud/speech/gapic_version.py
--- old/google-cloud-speech-2.22.0/google/cloud/speech/gapic_version.py
2023-11-02 12:15:57.000000000 +0100
+++ new/google-cloud-speech-2.23.0/google/cloud/speech/gapic_version.py
2023-12-07 21:02:28.000000000 +0100
@@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
-__version__ = "2.22.0" # {x-release-please-version}
+__version__ = "2.23.0" # {x-release-please-version}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/google-cloud-speech-2.22.0/google/cloud/speech_v1/gapic_version.py
new/google-cloud-speech-2.23.0/google/cloud/speech_v1/gapic_version.py
--- old/google-cloud-speech-2.22.0/google/cloud/speech_v1/gapic_version.py
2023-11-02 12:15:57.000000000 +0100
+++ new/google-cloud-speech-2.23.0/google/cloud/speech_v1/gapic_version.py
2023-12-07 21:02:28.000000000 +0100
@@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
-__version__ = "2.22.0" # {x-release-please-version}
+__version__ = "2.23.0" # {x-release-please-version}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/google-cloud-speech-2.22.0/google/cloud/speech_v1/services/adaptation/async_client.py
new/google-cloud-speech-2.23.0/google/cloud/speech_v1/services/adaptation/async_client.py
---
old/google-cloud-speech-2.22.0/google/cloud/speech_v1/services/adaptation/async_client.py
2023-11-02 12:15:57.000000000 +0100
+++
new/google-cloud-speech-2.23.0/google/cloud/speech_v1/services/adaptation/async_client.py
2023-12-07 21:02:28.000000000 +0100
@@ -30,7 +30,7 @@
from google.api_core import exceptions as core_exceptions
from google.api_core import gapic_v1
-from google.api_core import retry as retries
+from google.api_core import retry_async as retries
from google.api_core.client_options import ClientOptions
from google.auth import credentials as ga_credentials # type: ignore
from google.oauth2 import service_account # type: ignore
@@ -38,9 +38,9 @@
from google.cloud.speech_v1 import gapic_version as package_version
try:
- OptionalRetry = Union[retries.Retry, gapic_v1.method._MethodDefault]
+ OptionalRetry = Union[retries.AsyncRetry, gapic_v1.method._MethodDefault]
except AttributeError: # pragma: NO COVER
- OptionalRetry = Union[retries.Retry, object] # type: ignore
+ OptionalRetry = Union[retries.AsyncRetry, object] # type: ignore
from google.longrunning import operations_pb2 # type: ignore
from google.protobuf import field_mask_pb2 # type: ignore
@@ -298,7 +298,7 @@
This corresponds to the ``phrase_set_id`` field
on the ``request`` instance; if ``request`` is provided, this
should not be set.
- retry (google.api_core.retry.Retry): Designation of what errors,
if any,
+ retry (google.api_core.retry_async.AsyncRetry): Designation of
what errors, if any,
should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -417,7 +417,7 @@
This corresponds to the ``name`` field
on the ``request`` instance; if ``request`` is provided, this
should not be set.
- retry (google.api_core.retry.Retry): Designation of what errors,
if any,
+ retry (google.api_core.retry_async.AsyncRetry): Designation of
what errors, if any,
should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -533,7 +533,7 @@
This corresponds to the ``parent`` field
on the ``request`` instance; if ``request`` is provided, this
should not be set.
- retry (google.api_core.retry.Retry): Designation of what errors,
if any,
+ retry (google.api_core.retry_async.AsyncRetry): Designation of
what errors, if any,
should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -666,7 +666,7 @@
This corresponds to the ``update_mask`` field
on the ``request`` instance; if ``request`` is provided, this
should not be set.
- retry (google.api_core.retry.Retry): Designation of what errors,
if any,
+ retry (google.api_core.retry_async.AsyncRetry): Designation of
what errors, if any,
should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -773,7 +773,7 @@
This corresponds to the ``name`` field
on the ``request`` instance; if ``request`` is provided, this
should not be set.
- retry (google.api_core.retry.Retry): Designation of what errors,
if any,
+ retry (google.api_core.retry_async.AsyncRetry): Designation of
what errors, if any,
should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -900,7 +900,7 @@
This corresponds to the ``custom_class_id`` field
on the ``request`` instance; if ``request`` is provided, this
should not be set.
- retry (google.api_core.retry.Retry): Designation of what errors,
if any,
+ retry (google.api_core.retry_async.AsyncRetry): Designation of
what errors, if any,
should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -1015,7 +1015,7 @@
This corresponds to the ``name`` field
on the ``request`` instance; if ``request`` is provided, this
should not be set.
- retry (google.api_core.retry.Retry): Designation of what errors,
if any,
+ retry (google.api_core.retry_async.AsyncRetry): Designation of
what errors, if any,
should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -1135,7 +1135,7 @@
This corresponds to the ``parent`` field
on the ``request`` instance; if ``request`` is provided, this
should not be set.
- retry (google.api_core.retry.Retry): Designation of what errors,
if any,
+ retry (google.api_core.retry_async.AsyncRetry): Designation of
what errors, if any,
should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -1268,7 +1268,7 @@
This corresponds to the ``update_mask`` field
on the ``request`` instance; if ``request`` is provided, this
should not be set.
- retry (google.api_core.retry.Retry): Designation of what errors,
if any,
+ retry (google.api_core.retry_async.AsyncRetry): Designation of
what errors, if any,
should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -1388,7 +1388,7 @@
This corresponds to the ``name`` field
on the ``request`` instance; if ``request`` is provided, this
should not be set.
- retry (google.api_core.retry.Retry): Designation of what errors,
if any,
+ retry (google.api_core.retry_async.AsyncRetry): Designation of
what errors, if any,
should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -1447,7 +1447,7 @@
request (:class:`~.operations_pb2.ListOperationsRequest`):
The request object. Request message for
`ListOperations` method.
- retry (google.api_core.retry.Retry): Designation of what errors,
+ retry (google.api_core.retry_async.AsyncRetry): Designation of
what errors,
if any, should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -1464,7 +1464,7 @@
# Wrap the RPC method; this adds retry and timeout information,
# and friendly error handling.
- rpc = gapic_v1.method.wrap_method(
+ rpc = gapic_v1.method_async.wrap_method(
self._client._transport.list_operations,
default_timeout=None,
client_info=DEFAULT_CLIENT_INFO,
@@ -1501,7 +1501,7 @@
request (:class:`~.operations_pb2.GetOperationRequest`):
The request object. Request message for
`GetOperation` method.
- retry (google.api_core.retry.Retry): Designation of what errors,
+ retry (google.api_core.retry_async.AsyncRetry): Designation of
what errors,
if any, should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -1518,7 +1518,7 @@
# Wrap the RPC method; this adds retry and timeout information,
# and friendly error handling.
- rpc = gapic_v1.method.wrap_method(
+ rpc = gapic_v1.method_async.wrap_method(
self._client._transport.get_operation,
default_timeout=None,
client_info=DEFAULT_CLIENT_INFO,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/google-cloud-speech-2.22.0/google/cloud/speech_v1/services/speech/async_client.py
new/google-cloud-speech-2.23.0/google/cloud/speech_v1/services/speech/async_client.py
---
old/google-cloud-speech-2.22.0/google/cloud/speech_v1/services/speech/async_client.py
2023-11-02 12:15:57.000000000 +0100
+++
new/google-cloud-speech-2.23.0/google/cloud/speech_v1/services/speech/async_client.py
2023-12-07 21:02:28.000000000 +0100
@@ -33,7 +33,7 @@
from google.api_core import exceptions as core_exceptions
from google.api_core import gapic_v1
-from google.api_core import retry as retries
+from google.api_core import retry_async as retries
from google.api_core.client_options import ClientOptions
from google.auth import credentials as ga_credentials # type: ignore
from google.oauth2 import service_account # type: ignore
@@ -41,9 +41,9 @@
from google.cloud.speech_v1 import gapic_version as package_version
try:
- OptionalRetry = Union[retries.Retry, gapic_v1.method._MethodDefault]
+ OptionalRetry = Union[retries.AsyncRetry, gapic_v1.method._MethodDefault]
except AttributeError: # pragma: NO COVER
- OptionalRetry = Union[retries.Retry, object] # type: ignore
+ OptionalRetry = Union[retries.AsyncRetry, object] # type: ignore
from google.api_core import operation # type: ignore
from google.api_core import operation_async # type: ignore
@@ -279,7 +279,7 @@
This corresponds to the ``audio`` field
on the ``request`` instance; if ``request`` is provided, this
should not be set.
- retry (google.api_core.retry.Retry): Designation of what errors,
if any,
+ retry (google.api_core.retry_async.AsyncRetry): Designation of
what errors, if any,
should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -315,7 +315,7 @@
# and friendly error handling.
rpc = gapic_v1.method_async.wrap_method(
self._client._transport.recognize,
- default_retry=retries.Retry(
+ default_retry=retries.AsyncRetry(
initial=0.1,
maximum=60.0,
multiplier=1.3,
@@ -413,7 +413,7 @@
This corresponds to the ``audio`` field
on the ``request`` instance; if ``request`` is provided, this
should not be set.
- retry (google.api_core.retry.Retry): Designation of what errors,
if any,
+ retry (google.api_core.retry_async.AsyncRetry): Designation of
what errors, if any,
should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -540,7 +540,7 @@
message and must not contain ``audio_content``. All
subsequent messages must contain ``audio_content`` and
must not contain a ``streaming_config`` message.
- retry (google.api_core.retry.Retry): Designation of what errors,
if any,
+ retry (google.api_core.retry_async.AsyncRetry): Designation of
what errors, if any,
should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -615,7 +615,7 @@
# and friendly error handling.
rpc = gapic_v1.method_async.wrap_method(
self._client._transport.streaming_recognize,
- default_retry=retries.Retry(
+ default_retry=retries.AsyncRetry(
initial=0.1,
maximum=60.0,
multiplier=1.3,
@@ -654,7 +654,7 @@
request (:class:`~.operations_pb2.ListOperationsRequest`):
The request object. Request message for
`ListOperations` method.
- retry (google.api_core.retry.Retry): Designation of what errors,
+ retry (google.api_core.retry_async.AsyncRetry): Designation of
what errors,
if any, should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -671,7 +671,7 @@
# Wrap the RPC method; this adds retry and timeout information,
# and friendly error handling.
- rpc = gapic_v1.method.wrap_method(
+ rpc = gapic_v1.method_async.wrap_method(
self._client._transport.list_operations,
default_timeout=None,
client_info=DEFAULT_CLIENT_INFO,
@@ -708,7 +708,7 @@
request (:class:`~.operations_pb2.GetOperationRequest`):
The request object. Request message for
`GetOperation` method.
- retry (google.api_core.retry.Retry): Designation of what errors,
+ retry (google.api_core.retry_async.AsyncRetry): Designation of
what errors,
if any, should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -725,7 +725,7 @@
# Wrap the RPC method; this adds retry and timeout information,
# and friendly error handling.
- rpc = gapic_v1.method.wrap_method(
+ rpc = gapic_v1.method_async.wrap_method(
self._client._transport.get_operation,
default_timeout=None,
client_info=DEFAULT_CLIENT_INFO,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/google-cloud-speech-2.22.0/google/cloud/speech_v1p1beta1/gapic_version.py
new/google-cloud-speech-2.23.0/google/cloud/speech_v1p1beta1/gapic_version.py
---
old/google-cloud-speech-2.22.0/google/cloud/speech_v1p1beta1/gapic_version.py
2023-11-02 12:15:57.000000000 +0100
+++
new/google-cloud-speech-2.23.0/google/cloud/speech_v1p1beta1/gapic_version.py
2023-12-07 21:02:28.000000000 +0100
@@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
-__version__ = "2.22.0" # {x-release-please-version}
+__version__ = "2.23.0" # {x-release-please-version}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/google-cloud-speech-2.22.0/google/cloud/speech_v1p1beta1/services/adaptation/async_client.py
new/google-cloud-speech-2.23.0/google/cloud/speech_v1p1beta1/services/adaptation/async_client.py
---
old/google-cloud-speech-2.22.0/google/cloud/speech_v1p1beta1/services/adaptation/async_client.py
2023-11-02 12:15:57.000000000 +0100
+++
new/google-cloud-speech-2.23.0/google/cloud/speech_v1p1beta1/services/adaptation/async_client.py
2023-12-07 21:02:28.000000000 +0100
@@ -30,7 +30,7 @@
from google.api_core import exceptions as core_exceptions
from google.api_core import gapic_v1
-from google.api_core import retry as retries
+from google.api_core import retry_async as retries
from google.api_core.client_options import ClientOptions
from google.auth import credentials as ga_credentials # type: ignore
from google.oauth2 import service_account # type: ignore
@@ -38,9 +38,9 @@
from google.cloud.speech_v1p1beta1 import gapic_version as package_version
try:
- OptionalRetry = Union[retries.Retry, gapic_v1.method._MethodDefault]
+ OptionalRetry = Union[retries.AsyncRetry, gapic_v1.method._MethodDefault]
except AttributeError: # pragma: NO COVER
- OptionalRetry = Union[retries.Retry, object] # type: ignore
+ OptionalRetry = Union[retries.AsyncRetry, object] # type: ignore
from google.longrunning import operations_pb2 # type: ignore
from google.protobuf import field_mask_pb2 # type: ignore
@@ -298,7 +298,7 @@
This corresponds to the ``phrase_set_id`` field
on the ``request`` instance; if ``request`` is provided, this
should not be set.
- retry (google.api_core.retry.Retry): Designation of what errors,
if any,
+ retry (google.api_core.retry_async.AsyncRetry): Designation of
what errors, if any,
should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -417,7 +417,7 @@
This corresponds to the ``name`` field
on the ``request`` instance; if ``request`` is provided, this
should not be set.
- retry (google.api_core.retry.Retry): Designation of what errors,
if any,
+ retry (google.api_core.retry_async.AsyncRetry): Designation of
what errors, if any,
should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -533,7 +533,7 @@
This corresponds to the ``parent`` field
on the ``request`` instance; if ``request`` is provided, this
should not be set.
- retry (google.api_core.retry.Retry): Designation of what errors,
if any,
+ retry (google.api_core.retry_async.AsyncRetry): Designation of
what errors, if any,
should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -666,7 +666,7 @@
This corresponds to the ``update_mask`` field
on the ``request`` instance; if ``request`` is provided, this
should not be set.
- retry (google.api_core.retry.Retry): Designation of what errors,
if any,
+ retry (google.api_core.retry_async.AsyncRetry): Designation of
what errors, if any,
should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -773,7 +773,7 @@
This corresponds to the ``name`` field
on the ``request`` instance; if ``request`` is provided, this
should not be set.
- retry (google.api_core.retry.Retry): Designation of what errors,
if any,
+ retry (google.api_core.retry_async.AsyncRetry): Designation of
what errors, if any,
should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -900,7 +900,7 @@
This corresponds to the ``custom_class_id`` field
on the ``request`` instance; if ``request`` is provided, this
should not be set.
- retry (google.api_core.retry.Retry): Designation of what errors,
if any,
+ retry (google.api_core.retry_async.AsyncRetry): Designation of
what errors, if any,
should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -1015,7 +1015,7 @@
This corresponds to the ``name`` field
on the ``request`` instance; if ``request`` is provided, this
should not be set.
- retry (google.api_core.retry.Retry): Designation of what errors,
if any,
+ retry (google.api_core.retry_async.AsyncRetry): Designation of
what errors, if any,
should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -1135,7 +1135,7 @@
This corresponds to the ``parent`` field
on the ``request`` instance; if ``request`` is provided, this
should not be set.
- retry (google.api_core.retry.Retry): Designation of what errors,
if any,
+ retry (google.api_core.retry_async.AsyncRetry): Designation of
what errors, if any,
should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -1268,7 +1268,7 @@
This corresponds to the ``update_mask`` field
on the ``request`` instance; if ``request`` is provided, this
should not be set.
- retry (google.api_core.retry.Retry): Designation of what errors,
if any,
+ retry (google.api_core.retry_async.AsyncRetry): Designation of
what errors, if any,
should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -1388,7 +1388,7 @@
This corresponds to the ``name`` field
on the ``request`` instance; if ``request`` is provided, this
should not be set.
- retry (google.api_core.retry.Retry): Designation of what errors,
if any,
+ retry (google.api_core.retry_async.AsyncRetry): Designation of
what errors, if any,
should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -1447,7 +1447,7 @@
request (:class:`~.operations_pb2.ListOperationsRequest`):
The request object. Request message for
`ListOperations` method.
- retry (google.api_core.retry.Retry): Designation of what errors,
+ retry (google.api_core.retry_async.AsyncRetry): Designation of
what errors,
if any, should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -1464,7 +1464,7 @@
# Wrap the RPC method; this adds retry and timeout information,
# and friendly error handling.
- rpc = gapic_v1.method.wrap_method(
+ rpc = gapic_v1.method_async.wrap_method(
self._client._transport.list_operations,
default_timeout=None,
client_info=DEFAULT_CLIENT_INFO,
@@ -1501,7 +1501,7 @@
request (:class:`~.operations_pb2.GetOperationRequest`):
The request object. Request message for
`GetOperation` method.
- retry (google.api_core.retry.Retry): Designation of what errors,
+ retry (google.api_core.retry_async.AsyncRetry): Designation of
what errors,
if any, should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -1518,7 +1518,7 @@
# Wrap the RPC method; this adds retry and timeout information,
# and friendly error handling.
- rpc = gapic_v1.method.wrap_method(
+ rpc = gapic_v1.method_async.wrap_method(
self._client._transport.get_operation,
default_timeout=None,
client_info=DEFAULT_CLIENT_INFO,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/google-cloud-speech-2.22.0/google/cloud/speech_v1p1beta1/services/speech/async_client.py
new/google-cloud-speech-2.23.0/google/cloud/speech_v1p1beta1/services/speech/async_client.py
---
old/google-cloud-speech-2.22.0/google/cloud/speech_v1p1beta1/services/speech/async_client.py
2023-11-02 12:15:57.000000000 +0100
+++
new/google-cloud-speech-2.23.0/google/cloud/speech_v1p1beta1/services/speech/async_client.py
2023-12-07 21:02:28.000000000 +0100
@@ -33,7 +33,7 @@
from google.api_core import exceptions as core_exceptions
from google.api_core import gapic_v1
-from google.api_core import retry as retries
+from google.api_core import retry_async as retries
from google.api_core.client_options import ClientOptions
from google.auth import credentials as ga_credentials # type: ignore
from google.oauth2 import service_account # type: ignore
@@ -41,9 +41,9 @@
from google.cloud.speech_v1p1beta1 import gapic_version as package_version
try:
- OptionalRetry = Union[retries.Retry, gapic_v1.method._MethodDefault]
+ OptionalRetry = Union[retries.AsyncRetry, gapic_v1.method._MethodDefault]
except AttributeError: # pragma: NO COVER
- OptionalRetry = Union[retries.Retry, object] # type: ignore
+ OptionalRetry = Union[retries.AsyncRetry, object] # type: ignore
from google.api_core import operation # type: ignore
from google.api_core import operation_async # type: ignore
@@ -279,7 +279,7 @@
This corresponds to the ``audio`` field
on the ``request`` instance; if ``request`` is provided, this
should not be set.
- retry (google.api_core.retry.Retry): Designation of what errors,
if any,
+ retry (google.api_core.retry_async.AsyncRetry): Designation of
what errors, if any,
should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -315,7 +315,7 @@
# and friendly error handling.
rpc = gapic_v1.method_async.wrap_method(
self._client._transport.recognize,
- default_retry=retries.Retry(
+ default_retry=retries.AsyncRetry(
initial=0.1,
maximum=60.0,
multiplier=1.3,
@@ -413,7 +413,7 @@
This corresponds to the ``audio`` field
on the ``request`` instance; if ``request`` is provided, this
should not be set.
- retry (google.api_core.retry.Retry): Designation of what errors,
if any,
+ retry (google.api_core.retry_async.AsyncRetry): Designation of
what errors, if any,
should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -540,7 +540,7 @@
message and must not contain ``audio_content``. All
subsequent messages must contain ``audio_content`` and
must not contain a ``streaming_config`` message.
- retry (google.api_core.retry.Retry): Designation of what errors,
if any,
+ retry (google.api_core.retry_async.AsyncRetry): Designation of
what errors, if any,
should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -615,7 +615,7 @@
# and friendly error handling.
rpc = gapic_v1.method_async.wrap_method(
self._client._transport.streaming_recognize,
- default_retry=retries.Retry(
+ default_retry=retries.AsyncRetry(
initial=0.1,
maximum=60.0,
multiplier=1.3,
@@ -654,7 +654,7 @@
request (:class:`~.operations_pb2.ListOperationsRequest`):
The request object. Request message for
`ListOperations` method.
- retry (google.api_core.retry.Retry): Designation of what errors,
+ retry (google.api_core.retry_async.AsyncRetry): Designation of
what errors,
if any, should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -671,7 +671,7 @@
# Wrap the RPC method; this adds retry and timeout information,
# and friendly error handling.
- rpc = gapic_v1.method.wrap_method(
+ rpc = gapic_v1.method_async.wrap_method(
self._client._transport.list_operations,
default_timeout=None,
client_info=DEFAULT_CLIENT_INFO,
@@ -708,7 +708,7 @@
request (:class:`~.operations_pb2.GetOperationRequest`):
The request object. Request message for
`GetOperation` method.
- retry (google.api_core.retry.Retry): Designation of what errors,
+ retry (google.api_core.retry_async.AsyncRetry): Designation of
what errors,
if any, should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -725,7 +725,7 @@
# Wrap the RPC method; this adds retry and timeout information,
# and friendly error handling.
- rpc = gapic_v1.method.wrap_method(
+ rpc = gapic_v1.method_async.wrap_method(
self._client._transport.get_operation,
default_timeout=None,
client_info=DEFAULT_CLIENT_INFO,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/google-cloud-speech-2.22.0/google/cloud/speech_v2/gapic_version.py
new/google-cloud-speech-2.23.0/google/cloud/speech_v2/gapic_version.py
--- old/google-cloud-speech-2.22.0/google/cloud/speech_v2/gapic_version.py
2023-11-02 12:15:57.000000000 +0100
+++ new/google-cloud-speech-2.23.0/google/cloud/speech_v2/gapic_version.py
2023-12-07 21:02:28.000000000 +0100
@@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
-__version__ = "2.22.0" # {x-release-please-version}
+__version__ = "2.23.0" # {x-release-please-version}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/google-cloud-speech-2.22.0/google/cloud/speech_v2/services/speech/async_client.py
new/google-cloud-speech-2.23.0/google/cloud/speech_v2/services/speech/async_client.py
---
old/google-cloud-speech-2.22.0/google/cloud/speech_v2/services/speech/async_client.py
2023-11-02 12:15:57.000000000 +0100
+++
new/google-cloud-speech-2.23.0/google/cloud/speech_v2/services/speech/async_client.py
2023-12-07 21:02:28.000000000 +0100
@@ -33,7 +33,7 @@
from google.api_core import exceptions as core_exceptions
from google.api_core import gapic_v1
-from google.api_core import retry as retries
+from google.api_core import retry_async as retries
from google.api_core.client_options import ClientOptions
from google.auth import credentials as ga_credentials # type: ignore
from google.oauth2 import service_account # type: ignore
@@ -41,9 +41,9 @@
from google.cloud.speech_v2 import gapic_version as package_version
try:
- OptionalRetry = Union[retries.Retry, gapic_v1.method._MethodDefault]
+ OptionalRetry = Union[retries.AsyncRetry, gapic_v1.method._MethodDefault]
except AttributeError: # pragma: NO COVER
- OptionalRetry = Union[retries.Retry, object] # type: ignore
+ OptionalRetry = Union[retries.AsyncRetry, object] # type: ignore
from google.api_core import operation # type: ignore
from google.api_core import operation_async # type: ignore
@@ -298,7 +298,7 @@
This corresponds to the ``recognizer_id`` field
on the ``request`` instance; if ``request`` is provided, this
should not be set.
- retry (google.api_core.retry.Retry): Designation of what errors,
if any,
+ retry (google.api_core.retry_async.AsyncRetry): Designation of
what errors, if any,
should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -419,7 +419,7 @@
This corresponds to the ``parent`` field
on the ``request`` instance; if ``request`` is provided, this
should not be set.
- retry (google.api_core.retry.Retry): Designation of what errors,
if any,
+ retry (google.api_core.retry_async.AsyncRetry): Designation of
what errors, if any,
should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -539,7 +539,7 @@
This corresponds to the ``name`` field
on the ``request`` instance; if ``request`` is provided, this
should not be set.
- retry (google.api_core.retry.Retry): Designation of what errors,
if any,
+ retry (google.api_core.retry_async.AsyncRetry): Designation of
what errors, if any,
should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -657,7 +657,7 @@
This corresponds to the ``update_mask`` field
on the ``request`` instance; if ``request`` is provided, this
should not be set.
- retry (google.api_core.retry.Retry): Designation of what errors,
if any,
+ retry (google.api_core.retry_async.AsyncRetry): Designation of
what errors, if any,
should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -780,7 +780,7 @@
This corresponds to the ``name`` field
on the ``request`` instance; if ``request`` is provided, this
should not be set.
- retry (google.api_core.retry.Retry): Designation of what errors,
if any,
+ retry (google.api_core.retry_async.AsyncRetry): Designation of
what errors, if any,
should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -900,7 +900,7 @@
This corresponds to the ``name`` field
on the ``request`` instance; if ``request`` is provided, this
should not be set.
- retry (google.api_core.retry.Retry): Designation of what errors,
if any,
+ retry (google.api_core.retry_async.AsyncRetry): Designation of
what errors, if any,
should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -1085,7 +1085,7 @@
This corresponds to the ``uri`` field
on the ``request`` instance; if ``request`` is provided, this
should not be set.
- retry (google.api_core.retry.Retry): Designation of what errors,
if any,
+ retry (google.api_core.retry_async.AsyncRetry): Designation of
what errors, if any,
should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -1227,7 +1227,7 @@
All subsequent messages must only have
[audio][google.cloud.speech.v2.StreamingRecognizeRequest.audio]
set.
- retry (google.api_core.retry.Retry): Designation of what errors,
if any,
+ retry (google.api_core.retry_async.AsyncRetry): Designation of
what errors, if any,
should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -1418,7 +1418,7 @@
This corresponds to the ``files`` field
on the ``request`` instance; if ``request`` is provided, this
should not be set.
- retry (google.api_core.retry.Retry): Designation of what errors,
if any,
+ retry (google.api_core.retry_async.AsyncRetry): Designation of
what errors, if any,
should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -1543,7 +1543,7 @@
This corresponds to the ``name`` field
on the ``request`` instance; if ``request`` is provided, this
should not be set.
- retry (google.api_core.retry.Retry): Designation of what errors,
if any,
+ retry (google.api_core.retry_async.AsyncRetry): Designation of
what errors, if any,
should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -1656,7 +1656,7 @@
This corresponds to the ``update_mask`` field
on the ``request`` instance; if ``request`` is provided, this
should not be set.
- retry (google.api_core.retry.Retry): Designation of what errors,
if any,
+ retry (google.api_core.retry_async.AsyncRetry): Designation of
what errors, if any,
should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -1787,7 +1787,7 @@
This corresponds to the ``custom_class_id`` field
on the ``request`` instance; if ``request`` is provided, this
should not be set.
- retry (google.api_core.retry.Retry): Designation of what errors,
if any,
+ retry (google.api_core.retry_async.AsyncRetry): Designation of
what errors, if any,
should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -1908,7 +1908,7 @@
This corresponds to the ``parent`` field
on the ``request`` instance; if ``request`` is provided, this
should not be set.
- retry (google.api_core.retry.Retry): Designation of what errors,
if any,
+ retry (google.api_core.retry_async.AsyncRetry): Designation of
what errors, if any,
should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -2026,7 +2026,7 @@
This corresponds to the ``name`` field
on the ``request`` instance; if ``request`` is provided, this
should not be set.
- retry (google.api_core.retry.Retry): Designation of what errors,
if any,
+ retry (google.api_core.retry_async.AsyncRetry): Designation of
what errors, if any,
should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -2148,7 +2148,7 @@
This corresponds to the ``update_mask`` field
on the ``request`` instance; if ``request`` is provided, this
should not be set.
- retry (google.api_core.retry.Retry): Designation of what errors,
if any,
+ retry (google.api_core.retry_async.AsyncRetry): Designation of
what errors, if any,
should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -2271,7 +2271,7 @@
This corresponds to the ``name`` field
on the ``request`` instance; if ``request`` is provided, this
should not be set.
- retry (google.api_core.retry.Retry): Designation of what errors,
if any,
+ retry (google.api_core.retry_async.AsyncRetry): Designation of
what errors, if any,
should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -2391,7 +2391,7 @@
This corresponds to the ``name`` field
on the ``request`` instance; if ``request`` is provided, this
should not be set.
- retry (google.api_core.retry.Retry): Designation of what errors,
if any,
+ retry (google.api_core.retry_async.AsyncRetry): Designation of
what errors, if any,
should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -2528,7 +2528,7 @@
This corresponds to the ``phrase_set_id`` field
on the ``request`` instance; if ``request`` is provided, this
should not be set.
- retry (google.api_core.retry.Retry): Designation of what errors,
if any,
+ retry (google.api_core.retry_async.AsyncRetry): Designation of
what errors, if any,
should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -2648,7 +2648,7 @@
This corresponds to the ``parent`` field
on the ``request`` instance; if ``request`` is provided, this
should not be set.
- retry (google.api_core.retry.Retry): Designation of what errors,
if any,
+ retry (google.api_core.retry_async.AsyncRetry): Designation of
what errors, if any,
should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -2766,7 +2766,7 @@
This corresponds to the ``name`` field
on the ``request`` instance; if ``request`` is provided, this
should not be set.
- retry (google.api_core.retry.Retry): Designation of what errors,
if any,
+ retry (google.api_core.retry_async.AsyncRetry): Designation of
what errors, if any,
should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -2887,7 +2887,7 @@
This corresponds to the ``update_mask`` field
on the ``request`` instance; if ``request`` is provided, this
should not be set.
- retry (google.api_core.retry.Retry): Designation of what errors,
if any,
+ retry (google.api_core.retry_async.AsyncRetry): Designation of
what errors, if any,
should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -3009,7 +3009,7 @@
This corresponds to the ``name`` field
on the ``request`` instance; if ``request`` is provided, this
should not be set.
- retry (google.api_core.retry.Retry): Designation of what errors,
if any,
+ retry (google.api_core.retry_async.AsyncRetry): Designation of
what errors, if any,
should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -3127,7 +3127,7 @@
This corresponds to the ``name`` field
on the ``request`` instance; if ``request`` is provided, this
should not be set.
- retry (google.api_core.retry.Retry): Designation of what errors,
if any,
+ retry (google.api_core.retry_async.AsyncRetry): Designation of
what errors, if any,
should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -3206,7 +3206,7 @@
request (:class:`~.operations_pb2.ListOperationsRequest`):
The request object. Request message for
`ListOperations` method.
- retry (google.api_core.retry.Retry): Designation of what errors,
+ retry (google.api_core.retry_async.AsyncRetry): Designation of
what errors,
if any, should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -3223,7 +3223,7 @@
# Wrap the RPC method; this adds retry and timeout information,
# and friendly error handling.
- rpc = gapic_v1.method.wrap_method(
+ rpc = gapic_v1.method_async.wrap_method(
self._client._transport.list_operations,
default_timeout=None,
client_info=DEFAULT_CLIENT_INFO,
@@ -3260,7 +3260,7 @@
request (:class:`~.operations_pb2.GetOperationRequest`):
The request object. Request message for
`GetOperation` method.
- retry (google.api_core.retry.Retry): Designation of what errors,
+ retry (google.api_core.retry_async.AsyncRetry): Designation of
what errors,
if any, should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -3277,7 +3277,7 @@
# Wrap the RPC method; this adds retry and timeout information,
# and friendly error handling.
- rpc = gapic_v1.method.wrap_method(
+ rpc = gapic_v1.method_async.wrap_method(
self._client._transport.get_operation,
default_timeout=None,
client_info=DEFAULT_CLIENT_INFO,
@@ -3319,7 +3319,7 @@
request (:class:`~.operations_pb2.DeleteOperationRequest`):
The request object. Request message for
`DeleteOperation` method.
- retry (google.api_core.retry.Retry): Designation of what errors,
+ retry (google.api_core.retry_async.AsyncRetry): Designation of
what errors,
if any, should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -3335,7 +3335,7 @@
# Wrap the RPC method; this adds retry and timeout information,
# and friendly error handling.
- rpc = gapic_v1.method.wrap_method(
+ rpc = gapic_v1.method_async.wrap_method(
self._client._transport.delete_operation,
default_timeout=None,
client_info=DEFAULT_CLIENT_INFO,
@@ -3373,7 +3373,7 @@
request (:class:`~.operations_pb2.CancelOperationRequest`):
The request object. Request message for
`CancelOperation` method.
- retry (google.api_core.retry.Retry): Designation of what errors,
+ retry (google.api_core.retry_async.AsyncRetry): Designation of
what errors,
if any, should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -3389,7 +3389,7 @@
# Wrap the RPC method; this adds retry and timeout information,
# and friendly error handling.
- rpc = gapic_v1.method.wrap_method(
+ rpc = gapic_v1.method_async.wrap_method(
self._client._transport.cancel_operation,
default_timeout=None,
client_info=DEFAULT_CLIENT_INFO,
@@ -3423,7 +3423,7 @@
request (:class:`~.location_pb2.GetLocationRequest`):
The request object. Request message for
`GetLocation` method.
- retry (google.api_core.retry.Retry): Designation of what errors,
+ retry (google.api_core.retry_async.AsyncRetry): Designation of
what errors,
if any, should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -3440,7 +3440,7 @@
# Wrap the RPC method; this adds retry and timeout information,
# and friendly error handling.
- rpc = gapic_v1.method.wrap_method(
+ rpc = gapic_v1.method_async.wrap_method(
self._client._transport.get_location,
default_timeout=None,
client_info=DEFAULT_CLIENT_INFO,
@@ -3477,7 +3477,7 @@
request (:class:`~.location_pb2.ListLocationsRequest`):
The request object. Request message for
`ListLocations` method.
- retry (google.api_core.retry.Retry): Designation of what errors,
+ retry (google.api_core.retry_async.AsyncRetry): Designation of
what errors,
if any, should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -3494,7 +3494,7 @@
# Wrap the RPC method; this adds retry and timeout information,
# and friendly error handling.
- rpc = gapic_v1.method.wrap_method(
+ rpc = gapic_v1.method_async.wrap_method(
self._client._transport.list_locations,
default_timeout=None,
client_info=DEFAULT_CLIENT_INFO,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/google-cloud-speech-2.22.0/google_cloud_speech.egg-info/PKG-INFO
new/google-cloud-speech-2.23.0/google_cloud_speech.egg-info/PKG-INFO
--- old/google-cloud-speech-2.22.0/google_cloud_speech.egg-info/PKG-INFO
2023-11-02 12:20:26.000000000 +0100
+++ new/google-cloud-speech-2.23.0/google_cloud_speech.egg-info/PKG-INFO
2023-12-07 21:15:55.000000000 +0100
@@ -1,8 +1,8 @@
Metadata-Version: 2.1
Name: google-cloud-speech
-Version: 2.22.0
+Version: 2.23.0
Summary: Google Cloud Speech API client library
-Home-page: https://github.com/googleapis/google-cloud-python
+Home-page:
https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-speech
Author: Google LLC
Author-email: [email protected]
License: Apache 2.0
@@ -17,10 +17,14 @@
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
+Classifier: Programming Language :: Python :: 3.12
Classifier: Operating System :: OS Independent
Classifier: Topic :: Internet
Requires-Python: >=3.7
License-File: LICENSE
+Requires-Dist:
google-api-core[grpc]!=2.0.*,!=2.1.*,!=2.10.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,<3.0.0dev,>=1.34.0
+Requires-Dist: proto-plus<2.0.0dev,>=1.22.3
+Requires-Dist:
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
Python Client for Cloud Speech
==============================
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/google-cloud-speech-2.22.0/google_cloud_speech.egg-info/SOURCES.txt
new/google-cloud-speech-2.23.0/google_cloud_speech.egg-info/SOURCES.txt
--- old/google-cloud-speech-2.22.0/google_cloud_speech.egg-info/SOURCES.txt
2023-11-02 12:20:26.000000000 +0100
+++ new/google-cloud-speech-2.23.0/google_cloud_speech.egg-info/SOURCES.txt
2023-12-07 21:15:55.000000000 +0100
@@ -78,7 +78,6 @@
google_cloud_speech.egg-info/PKG-INFO
google_cloud_speech.egg-info/SOURCES.txt
google_cloud_speech.egg-info/dependency_links.txt
-google_cloud_speech.egg-info/namespace_packages.txt
google_cloud_speech.egg-info/not-zip-safe
google_cloud_speech.egg-info/requires.txt
google_cloud_speech.egg-info/top_level.txt
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/google-cloud-speech-2.22.0/google_cloud_speech.egg-info/namespace_packages.txt
new/google-cloud-speech-2.23.0/google_cloud_speech.egg-info/namespace_packages.txt
---
old/google-cloud-speech-2.22.0/google_cloud_speech.egg-info/namespace_packages.txt
2023-11-02 12:20:26.000000000 +0100
+++
new/google-cloud-speech-2.23.0/google_cloud_speech.egg-info/namespace_packages.txt
1970-01-01 01:00:00.000000000 +0100
@@ -1,2 +0,0 @@
-google
-google.cloud
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/google-cloud-speech-2.22.0/google_cloud_speech.egg-info/requires.txt
new/google-cloud-speech-2.23.0/google_cloud_speech.egg-info/requires.txt
--- old/google-cloud-speech-2.22.0/google_cloud_speech.egg-info/requires.txt
2023-11-02 12:20:26.000000000 +0100
+++ new/google-cloud-speech-2.23.0/google_cloud_speech.egg-info/requires.txt
2023-12-07 21:15:55.000000000 +0100
@@ -1,6 +1,3 @@
google-api-core[grpc]!=2.0.*,!=2.1.*,!=2.10.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,<3.0.0dev,>=1.34.0
-proto-plus<2.0.0dev,>=1.22.0
+proto-plus<2.0.0dev,>=1.22.3
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
-
-[:python_version >= "3.11"]
-proto-plus<2.0.0dev,>=1.22.2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/google-cloud-speech-2.22.0/setup.py
new/google-cloud-speech-2.23.0/setup.py
--- old/google-cloud-speech-2.22.0/setup.py 2023-11-02 12:15:57.000000000
+0100
+++ new/google-cloud-speech-2.23.0/setup.py 2023-12-07 21:02:28.000000000
+0100
@@ -15,6 +15,7 @@
#
import io
import os
+import re
import setuptools # type: ignore
@@ -25,10 +26,12 @@
description = "Google Cloud Speech API client library"
-version = {}
+version = None
+
with open(os.path.join(package_root, "google/cloud/speech/gapic_version.py"))
as fp:
- exec(fp.read(), version)
-version = version["__version__"]
+ version_candidates = re.findall(r"(?<=\")\d+.\d+.\d+(?=\")", fp.read())
+ assert len(version_candidates) == 1
+ version = version_candidates[0]
if version[0] == "0":
release_status = "Development Status :: 4 - Beta"
@@ -37,11 +40,10 @@
dependencies = [
"google-api-core[grpc] >= 1.34.0,
<3.0.0dev,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,!=2.10.*",
- "proto-plus >= 1.22.0, <2.0.0dev",
- "proto-plus >= 1.22.2, <2.0.0dev; python_version>='3.11'",
+ "proto-plus >= 1.22.3, <2.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",
]
-url = "https://github.com/googleapis/google-cloud-python"
+url =
"https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-speech"
package_root = os.path.abspath(os.path.dirname(__file__))
@@ -51,12 +53,10 @@
packages = [
package
- for package in setuptools.PEP420PackageFinder.find()
+ for package in setuptools.find_namespace_packages()
if package.startswith("google")
]
-namespaces = ["google", "google.cloud"]
-
setuptools.setup(
name=name,
version=version,
@@ -77,13 +77,13 @@
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
+ "Programming Language :: Python :: 3.12",
"Operating System :: OS Independent",
"Topic :: Internet",
],
platforms="Posix; MacOS X; Windows",
packages=packages,
python_requires=">=3.7",
- namespace_packages=namespaces,
install_requires=dependencies,
include_package_data=True,
zip_safe=False,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/google-cloud-speech-2.22.0/tests/unit/gapic/speech_v1/test_adaptation.py
new/google-cloud-speech-2.23.0/tests/unit/gapic/speech_v1/test_adaptation.py
---
old/google-cloud-speech-2.22.0/tests/unit/gapic/speech_v1/test_adaptation.py
2023-11-02 12:15:57.000000000 +0100
+++
new/google-cloud-speech-2.23.0/tests/unit/gapic/speech_v1/test_adaptation.py
2023-12-07 21:02:28.000000000 +0100
@@ -7475,7 +7475,7 @@
@pytest.mark.asyncio
-async def test_get_operation_async(transport: str = "grpc"):
+async def test_get_operation_async(transport: str = "grpc_asyncio"):
client = AdaptationAsyncClient(
credentials=ga_credentials.AnonymousCredentials(),
transport=transport,
@@ -7620,7 +7620,7 @@
@pytest.mark.asyncio
-async def test_list_operations_async(transport: str = "grpc"):
+async def test_list_operations_async(transport: str = "grpc_asyncio"):
client = AdaptationAsyncClient(
credentials=ga_credentials.AnonymousCredentials(),
transport=transport,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/google-cloud-speech-2.22.0/tests/unit/gapic/speech_v1/test_speech.py
new/google-cloud-speech-2.23.0/tests/unit/gapic/speech_v1/test_speech.py
--- old/google-cloud-speech-2.22.0/tests/unit/gapic/speech_v1/test_speech.py
2023-11-02 12:15:57.000000000 +0100
+++ new/google-cloud-speech-2.23.0/tests/unit/gapic/speech_v1/test_speech.py
2023-12-07 21:02:28.000000000 +0100
@@ -2618,7 +2618,7 @@
@pytest.mark.asyncio
-async def test_get_operation_async(transport: str = "grpc"):
+async def test_get_operation_async(transport: str = "grpc_asyncio"):
client = SpeechAsyncClient(
credentials=ga_credentials.AnonymousCredentials(),
transport=transport,
@@ -2763,7 +2763,7 @@
@pytest.mark.asyncio
-async def test_list_operations_async(transport: str = "grpc"):
+async def test_list_operations_async(transport: str = "grpc_asyncio"):
client = SpeechAsyncClient(
credentials=ga_credentials.AnonymousCredentials(),
transport=transport,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/google-cloud-speech-2.22.0/tests/unit/gapic/speech_v1p1beta1/test_adaptation.py
new/google-cloud-speech-2.23.0/tests/unit/gapic/speech_v1p1beta1/test_adaptation.py
---
old/google-cloud-speech-2.22.0/tests/unit/gapic/speech_v1p1beta1/test_adaptation.py
2023-11-02 12:15:57.000000000 +0100
+++
new/google-cloud-speech-2.23.0/tests/unit/gapic/speech_v1p1beta1/test_adaptation.py
2023-12-07 21:02:28.000000000 +0100
@@ -7479,7 +7479,7 @@
@pytest.mark.asyncio
-async def test_get_operation_async(transport: str = "grpc"):
+async def test_get_operation_async(transport: str = "grpc_asyncio"):
client = AdaptationAsyncClient(
credentials=ga_credentials.AnonymousCredentials(),
transport=transport,
@@ -7624,7 +7624,7 @@
@pytest.mark.asyncio
-async def test_list_operations_async(transport: str = "grpc"):
+async def test_list_operations_async(transport: str = "grpc_asyncio"):
client = AdaptationAsyncClient(
credentials=ga_credentials.AnonymousCredentials(),
transport=transport,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/google-cloud-speech-2.22.0/tests/unit/gapic/speech_v1p1beta1/test_speech.py
new/google-cloud-speech-2.23.0/tests/unit/gapic/speech_v1p1beta1/test_speech.py
---
old/google-cloud-speech-2.22.0/tests/unit/gapic/speech_v1p1beta1/test_speech.py
2023-11-02 12:15:57.000000000 +0100
+++
new/google-cloud-speech-2.23.0/tests/unit/gapic/speech_v1p1beta1/test_speech.py
2023-12-07 21:02:28.000000000 +0100
@@ -2618,7 +2618,7 @@
@pytest.mark.asyncio
-async def test_get_operation_async(transport: str = "grpc"):
+async def test_get_operation_async(transport: str = "grpc_asyncio"):
client = SpeechAsyncClient(
credentials=ga_credentials.AnonymousCredentials(),
transport=transport,
@@ -2763,7 +2763,7 @@
@pytest.mark.asyncio
-async def test_list_operations_async(transport: str = "grpc"):
+async def test_list_operations_async(transport: str = "grpc_asyncio"):
client = SpeechAsyncClient(
credentials=ga_credentials.AnonymousCredentials(),
transport=transport,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/google-cloud-speech-2.22.0/tests/unit/gapic/speech_v2/test_speech.py
new/google-cloud-speech-2.23.0/tests/unit/gapic/speech_v2/test_speech.py
--- old/google-cloud-speech-2.22.0/tests/unit/gapic/speech_v2/test_speech.py
2023-11-02 12:15:57.000000000 +0100
+++ new/google-cloud-speech-2.23.0/tests/unit/gapic/speech_v2/test_speech.py
2023-12-07 21:02:28.000000000 +0100
@@ -15190,7 +15190,7 @@
@pytest.mark.asyncio
-async def test_delete_operation_async(transport: str = "grpc"):
+async def test_delete_operation_async(transport: str = "grpc_asyncio"):
client = SpeechAsyncClient(
credentials=ga_credentials.AnonymousCredentials(),
transport=transport,
@@ -15329,7 +15329,7 @@
@pytest.mark.asyncio
-async def test_cancel_operation_async(transport: str = "grpc"):
+async def test_cancel_operation_async(transport: str = "grpc_asyncio"):
client = SpeechAsyncClient(
credentials=ga_credentials.AnonymousCredentials(),
transport=transport,
@@ -15468,7 +15468,7 @@
@pytest.mark.asyncio
-async def test_get_operation_async(transport: str = "grpc"):
+async def test_get_operation_async(transport: str = "grpc_asyncio"):
client = SpeechAsyncClient(
credentials=ga_credentials.AnonymousCredentials(),
transport=transport,
@@ -15613,7 +15613,7 @@
@pytest.mark.asyncio
-async def test_list_operations_async(transport: str = "grpc"):
+async def test_list_operations_async(transport: str = "grpc_asyncio"):
client = SpeechAsyncClient(
credentials=ga_credentials.AnonymousCredentials(),
transport=transport,
@@ -15758,7 +15758,7 @@
@pytest.mark.asyncio
-async def test_list_locations_async(transport: str = "grpc"):
+async def test_list_locations_async(transport: str = "grpc_asyncio"):
client = SpeechAsyncClient(
credentials=ga_credentials.AnonymousCredentials(),
transport=transport,