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-06-27 23:17:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-google-cloud-speech (Old)
 and      /work/SRC/openSUSE:Factory/.python-google-cloud-speech.new.15902 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-google-cloud-speech"

Tue Jun 27 23:17:59 2023 rev:12 rq:1095649 version:2.20.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-google-cloud-speech/python-google-cloud-speech.changes
    2023-03-30 22:51:38.776696566 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-google-cloud-speech.new.15902/python-google-cloud-speech.changes
 2023-06-27 23:18:17.267964026 +0200
@@ -1,0 +2,8 @@
+Tue Jun 20 09:40:24 UTC 2023 - John Paul Adrian Glaubitz 
<adrian.glaub...@suse.com>
+
+- Update to 2.20.0
+  * **v2:** Add processing strategy to batch recognition requests (#514)
+- Refresh patches for new version
+  * python-google-cloud-speech-no-mock.patch
+
+-------------------------------------------------------------------

Old:
----
  google-cloud-speech-2.19.0.tar.gz

New:
----
  google-cloud-speech-2.20.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-google-cloud-speech.spec ++++++
--- /var/tmp/diff_new_pack.kB4ukb/_old  2023-06-27 23:18:17.971968170 +0200
+++ /var/tmp/diff_new_pack.kB4ukb/_new  2023-06-27 23:18:17.975968193 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-google-cloud-speech
-Version:        2.19.0
+Version:        2.20.0
 Release:        0
 Summary:        Google Cloud Speech API client library
 License:        Apache-2.0

++++++ google-cloud-speech-2.19.0.tar.gz -> google-cloud-speech-2.20.0.tar.gz 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/google-cloud-speech-2.19.0/PKG-INFO 
new/google-cloud-speech-2.20.0/PKG-INFO
--- old/google-cloud-speech-2.19.0/PKG-INFO     2023-03-27 17:54:53.784834100 
+0200
+++ new/google-cloud-speech-2.20.0/PKG-INFO     2023-06-01 12:49:13.920659500 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: google-cloud-speech
-Version: 2.19.0
+Version: 2.20.0
 Summary: Google Cloud Speech API client library
 Home-page: https://github.com/googleapis/python-speech
 Author: Google LLC
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/google-cloud-speech-2.19.0/google/cloud/speech/gapic_version.py 
new/google-cloud-speech-2.20.0/google/cloud/speech/gapic_version.py
--- old/google-cloud-speech-2.19.0/google/cloud/speech/gapic_version.py 
2023-03-27 17:52:11.000000000 +0200
+++ new/google-cloud-speech-2.20.0/google/cloud/speech/gapic_version.py 
2023-06-01 12:46:41.000000000 +0200
@@ -13,4 +13,4 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 #
-__version__ = "2.19.0"  # {x-release-please-version}
+__version__ = "2.20.0"  # {x-release-please-version}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/google-cloud-speech-2.19.0/google/cloud/speech_v1/gapic_version.py 
new/google-cloud-speech-2.20.0/google/cloud/speech_v1/gapic_version.py
--- old/google-cloud-speech-2.19.0/google/cloud/speech_v1/gapic_version.py      
2023-03-27 17:52:11.000000000 +0200
+++ new/google-cloud-speech-2.20.0/google/cloud/speech_v1/gapic_version.py      
2023-06-01 12:46:41.000000000 +0200
@@ -13,4 +13,4 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 #
-__version__ = "2.19.0"  # {x-release-please-version}
+__version__ = "2.20.0"  # {x-release-please-version}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/google-cloud-speech-2.19.0/google/cloud/speech_v1p1beta1/gapic_version.py 
new/google-cloud-speech-2.20.0/google/cloud/speech_v1p1beta1/gapic_version.py
--- 
old/google-cloud-speech-2.19.0/google/cloud/speech_v1p1beta1/gapic_version.py   
    2023-03-27 17:52:11.000000000 +0200
+++ 
new/google-cloud-speech-2.20.0/google/cloud/speech_v1p1beta1/gapic_version.py   
    2023-06-01 12:46:41.000000000 +0200
@@ -13,4 +13,4 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 #
-__version__ = "2.19.0"  # {x-release-please-version}
+__version__ = "2.20.0"  # {x-release-please-version}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/google-cloud-speech-2.19.0/google/cloud/speech_v2/gapic_version.py 
new/google-cloud-speech-2.20.0/google/cloud/speech_v2/gapic_version.py
--- old/google-cloud-speech-2.19.0/google/cloud/speech_v2/gapic_version.py      
2023-03-27 17:52:11.000000000 +0200
+++ new/google-cloud-speech-2.20.0/google/cloud/speech_v2/gapic_version.py      
2023-06-01 12:46:41.000000000 +0200
@@ -13,4 +13,4 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 #
-__version__ = "2.19.0"  # {x-release-please-version}
+__version__ = "2.20.0"  # {x-release-please-version}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/google-cloud-speech-2.19.0/google/cloud/speech_v2/types/cloud_speech.py 
new/google-cloud-speech-2.20.0/google/cloud/speech_v2/types/cloud_speech.py
--- old/google-cloud-speech-2.19.0/google/cloud/speech_v2/types/cloud_speech.py 
2023-03-27 17:52:11.000000000 +0200
+++ new/google-cloud-speech-2.20.0/google/cloud/speech_v2/types/cloud_speech.py 
2023-06-01 12:46:41.000000000 +0200
@@ -377,9 +377,9 @@
         page_size (int):
             The maximum number of Recognizers to return.
             The service may return fewer than this value. If
-            unspecified, at most 20 Recognizers will be
-            returned. The maximum value is 20; values above
-            20 will be coerced to 20.
+            unspecified, at most 5 Recognizers will be
+            returned. The maximum value is 100; values above
+            100 will be coerced to 100.
         page_token (str):
             A page token, received from a previous
             [ListRecognizers][google.cloud.speech.v2.Speech.ListRecognizers]
@@ -593,59 +593,20 @@
             Select the model best suited to your domain to get best
             results.
 
-            Supported models:
-
-            -  ``latest_long``
-
-               Best for long form content like media or conversation.
-
-            -  ``latest_short``
-
-               Best for short form content like commands or single shot
-               directed speech. When using this model, the service will
-               stop transcribing audio after the first utterance is
-               detected and completed.
-
-               When using this model,
-               
[SEPARATE_RECOGNITION_PER_CHANNEL][google.cloud.speech.v2.RecognitionFeatures.MultiChannelMode.SEPARATE_RECOGNITION_PER_CHANNEL]
-               is not supported; multi-channel audio is accepted, but
-               only the first channel will be processed and transcribed.
-
-            -  ``telephony``
-
-               Best for audio that originated from a phone call
-               (typically recorded at an 8khz sampling rate).
-
-            -  ``medical_conversation``
-
-               For conversations between a medical provider—for example,
-               a doctor or nurse—and a patient. Use this model when both
-               a provider and a patient are speaking. Words uttered by
-               each speaker are automatically detected and labeled in
-               the returned transcript.
-
-               For supported features please see `medical models
-               documentation 
<https://cloud.google.com/speech-to-text/docs/medical-models>`__.
-
-            -  ``medical_dictation``
-
-               For dictated notes spoken by a single medical
-               provider—for example, a doctor dictating notes about a
-               patient's blood test results.
-
-               For supported features please see `medical models
-               documentation 
<https://cloud.google.com/speech-to-text/docs/medical-models>`__.
-
-            -  ``usm``
-
-               The next generation of Speech-to-Text models from Google.
+            Guidance for choosing which model to use can be found in the
+            `Transcription Models
+            Documentation 
<https://cloud.google.com/speech-to-text/v2/docs/transcription-model>`__
+            and the models supported in each region can be found in the
+            `Table Of Supported
+            Models 
<https://cloud.google.com/speech-to-text/v2/docs/speech-to-text-supported-languages>`__.
         language_codes (MutableSequence[str]):
             Required. The language of the supplied audio as a
             `BCP-47 <https://www.rfc-editor.org/rfc/bcp/bcp47.txt>`__
             language tag.
 
-            Supported languages for each model are listed at:
-            https://cloud.google.com/speech-to-text/docs/languages
+            Supported languages for each model are listed in the `Table
+            of Supported
+            Models 
<https://cloud.google.com/speech-to-text/v2/docs/speech-to-text-supported-languages>`__.
 
             If additional languages are provided, recognition result
             will contain recognition in the most likely language
@@ -1652,8 +1613,26 @@
         recognition_output_config 
(google.cloud.speech_v2.types.RecognitionOutputConfig):
             Configuration options for where to output the
             transcripts of each file.
+        processing_strategy 
(google.cloud.speech_v2.types.BatchRecognizeRequest.ProcessingStrategy):
+            Processing strategy to use for this request.
     """
 
+    class ProcessingStrategy(proto.Enum):
+        r"""Possible processing strategies for batch requests.
+
+        Values:
+            PROCESSING_STRATEGY_UNSPECIFIED (0):
+                Default value for the processing strategy.
+                The request is processed as soon as its
+                received.
+            DYNAMIC_BATCHING (1):
+                If selected, processes the request during
+                lower utilization periods for a price discount.
+                The request is fulfilled within 24 hours.
+        """
+        PROCESSING_STRATEGY_UNSPECIFIED = 0
+        DYNAMIC_BATCHING = 1
+
     recognizer: str = proto.Field(
         proto.STRING,
         number=1,
@@ -1678,6 +1657,11 @@
         number=6,
         message="RecognitionOutputConfig",
     )
+    processing_strategy: ProcessingStrategy = proto.Field(
+        proto.ENUM,
+        number=7,
+        enum=ProcessingStrategy,
+    )
 
 
 class GcsOutputConfig(proto.Message):
@@ -2624,10 +2608,10 @@
             ``projects/{project}/locations/{location}``.
         page_size (int):
             Number of results per requests. A valid page_size ranges
-            from 0 to 20 inclusive. If the page_size is zero or
+            from 0 to 100 inclusive. If the page_size is zero or
             unspecified, a page size of 5 will be chosen. If the page
-            size exceeds 20, it will be coerced down to 20. Note that a
-            call might return fewer results than the requested page
+            size exceeds 100, it will be coerced down to 100. Note that
+            a call might return fewer results than the requested page
             size.
         page_token (str):
             A page token, received from a previous
@@ -2878,9 +2862,9 @@
         page_size (int):
             The maximum number of PhraseSets to return.
             The service may return fewer than this value. If
-            unspecified, at most 20 PhraseSets will be
-            returned. The maximum value is 20; values above
-            20 will be coerced to 20.
+            unspecified, at most 5 PhraseSets will be
+            returned. The maximum value is 100; values above
+            100 will be coerced to 100.
         page_token (str):
             A page token, received from a previous
             [ListPhraseSets][google.cloud.speech.v2.Speech.ListPhraseSets]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/google-cloud-speech-2.19.0/google_cloud_speech.egg-info/PKG-INFO 
new/google-cloud-speech-2.20.0/google_cloud_speech.egg-info/PKG-INFO
--- old/google-cloud-speech-2.19.0/google_cloud_speech.egg-info/PKG-INFO        
2023-03-27 17:54:53.000000000 +0200
+++ new/google-cloud-speech-2.20.0/google_cloud_speech.egg-info/PKG-INFO        
2023-06-01 12:49:13.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: google-cloud-speech
-Version: 2.19.0
+Version: 2.20.0
 Summary: Google Cloud Speech API client library
 Home-page: https://github.com/googleapis/python-speech
 Author: Google LLC
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/google-cloud-speech-2.19.0/tests/unit/test_helpers.py 
new/google-cloud-speech-2.20.0/tests/unit/test_helpers.py
--- old/google-cloud-speech-2.19.0/tests/unit/test_helpers.py   2023-03-27 
17:52:11.000000000 +0200
+++ new/google-cloud-speech-2.20.0/tests/unit/test_helpers.py   2023-06-01 
12:46:41.000000000 +0200
@@ -15,7 +15,7 @@
 from __future__ import absolute_import
 from types import GeneratorType
 
-import mock
+from unittest import mock
 
 import google.auth.credentials
 from google.cloud.speech_v1 import SpeechClient

++++++ python-google-cloud-speech-no-mock.patch ++++++
--- /var/tmp/diff_new_pack.kB4ukb/_old  2023-06-27 23:18:18.123969065 +0200
+++ /var/tmp/diff_new_pack.kB4ukb/_new  2023-06-27 23:18:18.127969088 +0200
@@ -1,13 +1,3 @@
-diff -upr google-cloud-speech-2.14.1.orig/tests/unit/test_helpers.py 
google-cloud-speech-2.14.1/tests/unit/test_helpers.py
---- google-cloud-speech-2.14.1.orig/tests/unit/test_helpers.py 2022-06-09 
08:17:25.856909700 +0200
-+++ google-cloud-speech-2.14.1/tests/unit/test_helpers.py      2022-06-09 
08:17:25.892909915 +0200
-@@ -15,7 +15,7 @@
- from __future__ import absolute_import
- from types import GeneratorType
- 
--import mock
-+from unittest import mock
- 
- import google.auth.credentials
- from google.cloud.speech_v1 import SpeechClient
+
+(No newline at EOF)
 

Reply via email to