Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-google-cloud-translate for openSUSE:Factory checked in at 2023-03-30 22:52:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-google-cloud-translate (Old)
and /work/SRC/openSUSE:Factory/.python-google-cloud-translate.new.31432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-google-cloud-translate"
Thu Mar 30 22:52:34 2023 rev:7 rq:1075552 version:3.11.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-google-cloud-translate/python-google-cloud-translate.changes 2022-10-17 14:58:46.934217483 +0200
+++ /work/SRC/openSUSE:Factory/.python-google-cloud-translate.new.31432/python-google-cloud-translate.changes 2023-03-30 22:52:35.921002373 +0200
@@ -1,0 +2,26 @@
+Fri Mar 3 15:23:57 UTC 2023 - John Paul Adrian Glaubitz
+
+- Update to version 3.11.0
+ * Add supported fields in document translation request and refresh translation
+ v3 GA service proto documentation (cb63888)
+ * Enable "rest" transport in Python for services supporting numeric enums (cb63888)
+- from version 3.10.1
+ * Add context manager return types (e20fa00)
+ * Add documentation for enums (e20fa00)
+- from version 3.10.0
+ * Add support for python 3.11 (#474)
+- from version 3.9.0
+ * Add typing to proto.Message based class attributes (60573e6)
+ * Add dict typing for client_options (60573e6)
+ * **deps:** Require google-api-core >=1.34.0, >=2.11.0 (60573e6)
+ * Drop usage of pkg_resources (60573e6)
+ * Fix timeout default values (60573e6)
+ * **samples:** Snippetgen handling of repeated enum field (60573e6)
+ * **samples:** Snippetgen should call await on the operation coroutine
+ before calling result (60573e6)
+- Drop handling of fixup scripts in spec file
+ * fixup_translate_v3_keywords.py
+ * fixup_translate_v3beta1_keywords.py
+- Update BuildRequires and Requires from setup.py
+
+-------------------------------------------------------------------
Old:
----
google-cloud-translate-3.8.4.tar.gz
New:
----
google-cloud-translate-3.11.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-google-cloud-translate.spec ++++++
--- /var/tmp/diff_new_pack.fuS0xj/_old 2023-03-30 22:52:36.401004942 +0200
+++ /var/tmp/diff_new_pack.fuS0xj/_new 2023-03-30 22:52:36.405004963 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-google-cloud-translate
#
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,15 +19,15 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-google-cloud-translate
-Version: 3.8.4
+Version: 3.11.0
Release: 0
Summary: Google Cloud Translation API client library
License: Apache-2.0
URL: https://github.com/googleapis/python-translate
Source: https://files.pythonhosted.org/packages/source/g/google-cloud-translate/google-cloud-translate-%{version}.tar.gz
-BuildRequires: %{python_module google-api-core >= 1.32.0}
+BuildRequires: %{python_module google-api-core >= 1.34.0}
BuildRequires: %{python_module google-cloud-core >= 1.3.0}
-BuildRequires: %{python_module proto-plus >= 1.22.0}
+BuildRequires: %{python_module proto-plus >= 1.22.2}
BuildRequires: %{python_module protobuf >= 3.19.5}
BuildRequires: %{python_module setuptools}
# START TESTING SECTION
@@ -36,12 +36,10 @@
# END TESTING SECTION
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-Requires: python-google-api-core >= 1.32.0
+Requires: python-google-api-core >= 1.34.0
Requires: python-google-cloud-core >= 1.3.0
-Requires: python-proto-plus >= 1.22.0
+Requires: python-proto-plus >= 1.22.2
Requires: python-protobuf >= 3.19.5
-Requires(post): update-alternatives
-Requires(postun):update-alternatives
BuildArch: noarch
%python_subpackages
@@ -52,25 +50,14 @@
%prep
%autosetup -p1 -n google-cloud-translate-%{version}
-# add shebangs to installed scripts
-sed -i '1i\#!%{__python3}' scripts/fixup_translate_v3_keywords.py
-sed -i '1i\#!%{__python3}' scripts/fixup_translate_v3beta1_keywords.py
%build
%python_build
%install
%python_install
-%python_clone -a %{buildroot}%{_bindir}/fixup_translate_v3_keywords.py
-%python_clone -a %{buildroot}%{_bindir}/fixup_translate_v3beta1_keywords.py
%python_expand %fdupes %{buildroot}%{$python_sitelib}
-%post
-%{python_install_alternative fixup_translate_v3_keywords.py fixup_translate_v3beta1_keywords.py}
-
-%postun
-%{python_uninstall_alternative fixup_translate_v3_keywords.py fixup_translate_v3beta1_keywords.py}
-
%check
%pytest tests/unit -k 'not test_extra_headers'
@@ -78,7 +65,5 @@
%doc README.rst
%license LICENSE
%{python_sitelib}/*
-%python_alternative %{_bindir}/fixup_translate_v3_keywords.py
-%python_alternative %{_bindir}/fixup_translate_v3beta1_keywords.py
%changelog
++++++ google-cloud-translate-3.8.4.tar.gz -> google-cloud-translate-3.11.0.tar.gz ++++++
++++ 14642 lines of diff (skipped)