Accepting request 1133642 from devel:languages:python

- 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

  * Add SpeakerDiarizationConfig, deprecate enable_speaker_diarization

OBS-URL: https://build.opensuse.org/request/show/1133642
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-cloud-speech?expand=0&rev=15
This commit is contained in:
Ana Guerrero 2023-12-17 20:32:20 +00:00 committed by Git OBS Bridge
commit 1cb2657264
4 changed files with 25 additions and 12 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:95928a898692d7eaa05566d57a2138eb8b5b9234b1c3ccb72c552071ed2a3ab0
size 310888

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1f8683207085ddca6c5e0648972f8a062937d30e73aa55520f080f49532c7bff
size 311109

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Sat Dec 16 20:10:06 UTC 2023 - Dirk Müller <dmueller@suse.com>
- 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
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Dec 6 11:44:40 UTC 2023 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com> Wed Dec 6 11:44:40 UTC 2023 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
@ -231,7 +240,7 @@ Wed Apr 8 11:46:25 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- Update to 1.3.2 - Update to 1.3.2
* Add speaker diarization configuration support (via synth). * Add speaker diarization configuration support (via synth).
* Add SpeakerDiarizationConfig, deprecate enable_speaker_diarization * Add SpeakerDiarizationConfig, deprecate enable_speaker_diarization
and diarization_speaker_count (via synth). and diarization_speaker_count (via synth).
* Increase timeout values * Increase timeout values

View File

@ -16,9 +16,9 @@
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?sle15_python_module_pythons}
Name: python-google-cloud-speech Name: python-google-cloud-speech
Version: 2.22.0 Version: 2.23.0
Release: 0 Release: 0
Summary: Google Cloud Speech API client library Summary: Google Cloud Speech API client library
License: Apache-2.0 License: Apache-2.0
@ -26,15 +26,16 @@ Group: Development/Languages/Python
URL: https://github.com/googleapis/python-speech URL: https://github.com/googleapis/python-speech
Source: https://files.pythonhosted.org/packages/source/g/google-cloud-speech/google-cloud-speech-%{version}.tar.gz 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 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 protobuf >= 3.19.05}
BuildRequires: %{python_module pytest-asyncio} BuildRequires: %{python_module pytest-asyncio}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-google-api-core >= 1.34.0 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 Requires: python-protobuf >= 3.19.5
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages
@ -49,10 +50,10 @@ Cloud Speech API converts audio to text by applying neural network models.
#rm tests/system/gapic/v1p1beta1/test_system_speech_v1p1beta1.py #rm tests/system/gapic/v1p1beta1/test_system_speech_v1p1beta1.py
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
@ -62,6 +63,9 @@ Cloud Speech API converts audio to text by applying neural network models.
%exclude %{_bindir}/*.py %exclude %{_bindir}/*.py
%license LICENSE %license LICENSE
%doc README.rst %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
%changelog %changelog