From d1b684f4e1de02857cd5152027512c72e66d1ed7b376da1c621d3f9afda24f60 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 16 Dec 2023 20:29:29 +0000 Subject: [PATCH] - 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 --- google-cloud-translate-3.12.1.tar.gz | 3 --- google-cloud-translate-3.13.0.tar.gz | 3 +++ python-google-cloud-translate.changes | 9 +++++++++ python-google-cloud-translate.spec | 21 +++++++++++---------- 4 files changed, 23 insertions(+), 13 deletions(-) delete mode 100644 google-cloud-translate-3.12.1.tar.gz create mode 100644 google-cloud-translate-3.13.0.tar.gz diff --git a/google-cloud-translate-3.12.1.tar.gz b/google-cloud-translate-3.12.1.tar.gz deleted file mode 100644 index 175f7d2..0000000 --- a/google-cloud-translate-3.12.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:661cb8879aa3c63a2f725a3ea68f90199bd354c95ca169cc2e83a5105987d29e -size 136889 diff --git a/google-cloud-translate-3.13.0.tar.gz b/google-cloud-translate-3.13.0.tar.gz new file mode 100644 index 0000000..bcd24ed --- /dev/null +++ b/google-cloud-translate-3.13.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1f8f4a93a4941304b7250b7f8f0b4789b6eebc543d688f84ddf219439271b3e9 +size 136347 diff --git a/python-google-cloud-translate.changes b/python-google-cloud-translate.changes index 832fd6e..23c077f 100644 --- a/python-google-cloud-translate.changes +++ b/python-google-cloud-translate.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Sat Dec 16 20:28:46 UTC 2023 - Dirk Müller + +- 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 diff --git a/python-google-cloud-translate.spec b/python-google-cloud-translate.spec index e0b88dd..47ae4a0 100644 --- a/python-google-cloud-translate.spec +++ b/python-google-cloud-translate.spec @@ -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