python-google-cloud-speech/python-google-cloud-speech-no-mock.patch
Dirk Mueller 0403d1b8da Accepting request 981443 from home:pgajdos:python
- 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

OBS-URL: https://build.opensuse.org/request/show/981443
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-cloud-speech?expand=0&rev=16
2022-06-09 15:17:36 +00:00

13 lines
532 B
Diff

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