- update to 3.13.0:

* Add support for python 3.12
  * Introduce compatibility with native namespace packages
  * Require proto-plus >= 1.22.3
  * Use retry_async instead of retry in async client

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-cloud-translate?expand=0&rev=23
This commit is contained in:
Dirk Mueller 2023-12-16 20:29:29 +00:00 committed by Git OBS Bridge
parent 947adffdb4
commit d1b684f4e1
4 changed files with 23 additions and 13 deletions

View File

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

View File

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

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Sat Dec 16 20:28:46 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 3.13.0:
* Add support for python 3.12
* Introduce compatibility with native namespace packages
* Require proto-plus >= 1.22.3
* Use retry_async instead of retry in async client
-------------------------------------------------------------------
Thu Dec 7 10:23:17 UTC 2023 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@ -16,20 +16,20 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
%{?sle15_python_module_pythons}
Name: python-google-cloud-translate
Version: 3.12.1
Version: 3.13.0
Release: 0
Summary: Google Cloud Translation API client library
License: Apache-2.0
URL: https://github.com/googleapis/python-translate
URL: https://github.com/googleapis/google-cloud-python
Source: https://files.pythonhosted.org/packages/source/g/google-cloud-translate/google-cloud-translate-%{version}.tar.gz
BuildRequires: %{python_module google-api-core >= 1.34.0}
BuildRequires: %{python_module google-cloud-core >= 1.4.4}
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.5}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
# START TESTING SECTION
BuildRequires: %{python_module pytest-asyncio}
BuildRequires: %{python_module pytest}
@ -38,7 +38,7 @@ BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-google-api-core >= 1.34.0
Requires: python-google-cloud-core >= 1.4.4
Requires: python-proto-plus >= 1.22.2
Requires: python-proto-plus >= 1.22.3
Requires: python-protobuf >= 3.19.5
BuildArch: noarch
%python_subpackages
@ -52,10 +52,10 @@ and programs integrate with Google Cloud Translation programmatically.
%autosetup -p1 -n google-cloud-translate-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@ -64,6 +64,7 @@ and programs integrate with Google Cloud Translation programmatically.
%files %{python_files}
%doc README.rst
%license LICENSE
%{python_sitelib}/*
%{python_sitelib}/google/cloud/translate*
%{python_sitelib}/google_cloud_translate-%{version}.dist-info
%changelog