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 2022-06-10 15:57:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-google-cloud-speech (Old) and /work/SRC/openSUSE:Factory/.python-google-cloud-speech.new.1548 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-google-cloud-speech" Fri Jun 10 15:57:34 2022 rev:8 rq:981536 version:2.14.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-google-cloud-speech/python-google-cloud-speech.changes 2022-04-08 00:28:56.397498490 +0200 +++ /work/SRC/openSUSE:Factory/.python-google-cloud-speech.new.1548/python-google-cloud-speech.changes 2022-06-10 15:57:55.136848559 +0200 @@ -1,0 +2,18 @@ +Thu Jun 9 06:32:16 UTC 2022 - pgaj...@suse.com + +- version update to 2.14.1 + ## [2.14.1] + * **deps:** require protobuf <4.0.0dev + * fix changelog header to consistent size + * **samples:** resolve library deprecation warnings + ## [2.14.0] + * Add adaptation proto for v1 api + * Add documentation for latest models to RecognitionConfig + * Update client libraries for v1p1beta1 api + * update docstrings to use absolute links +- do not require python-mock for build +- added patches + fix https://github.com/googleapis/python-speech/issues/406 + + python-google-cloud-speech-no-mock.patch + +------------------------------------------------------------------- Old: ---- google-cloud-speech-2.13.1.tar.gz New: ---- google-cloud-speech-2.14.1.tar.gz python-google-cloud-speech-no-mock.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-google-cloud-speech.spec ++++++ --- /var/tmp/diff_new_pack.spzVIZ/_old 2022-06-10 15:57:55.908849495 +0200 +++ /var/tmp/diff_new_pack.spzVIZ/_new 2022-06-10 15:57:55.912849499 +0200 @@ -18,16 +18,18 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-google-cloud-speech -Version: 2.13.1 +Version: 2.14.1 Release: 0 Summary: Google Cloud Speech API client library License: Apache-2.0 Group: Development/Languages/Python -URL: https://github.com/GoogleCloudPlatform/google-cloud-python +URL: https://github.com/googleapis/python-speech Source: https://files.pythonhosted.org/packages/source/g/google-cloud-speech/google-cloud-speech-%{version}.tar.gz +# https://github.com/googleapis/python-speech/issues/406 +Patch0: python-google-cloud-speech-no-mock.patch BuildRequires: %{python_module google-api-core >= 1.31.5} -BuildRequires: %{python_module mock} BuildRequires: %{python_module proto-plus >= 1.15.0} +BuildRequires: %{python_module pytest-asyncio} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes @@ -41,7 +43,7 @@ Cloud Speech API converts audio to text by applying neural network models. %prep -%setup -q -n google-cloud-speech-%{version} +%autosetup -p1 -n google-cloud-speech-%{version} # remove tests needing credentials to google services rm tests/system/gapic/v1/test_system_speech_v1.py rm tests/system/gapic/v1p1beta1/test_system_speech_v1p1beta1.py ++++++ google-cloud-speech-2.13.1.tar.gz -> google-cloud-speech-2.14.1.tar.gz ++++++ ++++ 17013 lines of diff (skipped) ++++++ python-google-cloud-speech-no-mock.patch ++++++ 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