Hello community,
here is the log from the commit of package python-google-api-core for
openSUSE:Factory checked in at 2018-05-30 12:24:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-google-api-core (Old)
and /work/SRC/openSUSE:Factory/.python-google-api-core.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-google-api-core"
Wed May 30 12:24:17 2018 rev:2 rq:612992 version:1.2.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-google-api-core/python-google-api-core.changes
2018-05-29 10:43:47.266999338 +0200
+++
/work/SRC/openSUSE:Factory/.python-google-api-core.new/python-google-api-core.changes
2018-05-30 12:37:56.475160126 +0200
@@ -1,0 +2,9 @@
+Tue May 29 15:45:49 UTC 2018 - [email protected]
+
+- update to 1.2.0:
+ * Add close method to grpc Channel (#5333)
+ * Fix tests after grpcio update (#5333)
+ * Add Test runs for Python 3.7 and remove 3.4 (#5295)
+- use %license
+
+-------------------------------------------------------------------
Old:
----
google-api-core-1.1.2.tar.gz
New:
----
google-api-core-1.2.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-google-api-core.spec ++++++
--- /var/tmp/diff_new_pack.Lc4Bwh/_old 2018-05-30 12:37:57.291134145 +0200
+++ /var/tmp/diff_new_pack.Lc4Bwh/_new 2018-05-30 12:37:57.295134018 +0200
@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-google-api-core
-Version: 1.1.2
+Version: 1.2.0
Release: 0
Summary: Google API client core library
License: Apache-2.0
@@ -26,9 +26,21 @@
Url: https://github.com/GoogleCloudPlatform/google-cloud-python
Source:
https://files.pythonhosted.org/packages/source/g/google-api-core/google-api-core-%{version}.tar.gz
BuildRequires: %{python_module devel}
+BuildRequires: %{python_module google-auth}
+BuildRequires: %{python_module googleapis-common-protos}
+BuildRequires: %{python_module grpcio}
+BuildRequires: %{python_module mock}
+BuildRequires: %{python_module protobuf}
+BuildRequires: %{python_module pytest}
+BuildRequires: %{python_module pytz}
+BuildRequires: %{python_module requests}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
+%ifpython2
+BuildRequires: python2-enum34
+BuildRequires: python2-futures
+%endif
Requires: python-google-auth >= 0.4.0
Requires: python-googleapis-common-protos >= 1.5.3
Requires: python-protobuf >= 3.0.0
@@ -37,9 +49,10 @@
Requires: python-setuptools >= 34.0.0
Requires: python-six >= 1.10.0
%ifpython2
-Suggests: python-futures >= 3.2.0
+Requires: python-enum34
+Requires: python-futures >= 3.2.0
%endif
-Suggests: python-grpcio >= 1.8.2
+Requires: python-grpcio >= 1.8.2
BuildArch: noarch
%python_subpackages
@@ -57,8 +70,12 @@
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
+#%%check
+#%%python_expand PYTHONPATH=. py.test-%{$python_version} tests/unit
+
%files %{python_files}
-%doc LICENSE README.rst
+%license LICENSE
+%doc README.rst
%{python_sitelib}/*
%changelog
++++++ google-api-core-1.1.2.tar.gz -> google-api-core-1.2.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/google-api-core-1.1.2/PKG-INFO
new/google-api-core-1.2.0/PKG-INFO
--- old/google-api-core-1.1.2/PKG-INFO 2018-05-01 18:37:46.000000000 +0200
+++ new/google-api-core-1.2.0/PKG-INFO 2018-05-25 23:28:52.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: google-api-core
-Version: 1.1.2
+Version: 1.2.0
Summary: Google API client core library
Home-page: https://github.com/GoogleCloudPlatform/google-cloud-python
Author: Google LLC
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/google-api-core-1.1.2/google/api_core/grpc_helpers.py
new/google-api-core-1.2.0/google/api_core/grpc_helpers.py
--- old/google-api-core-1.1.2/google/api_core/grpc_helpers.py 2018-04-25
19:05:26.000000000 +0200
+++ new/google-api-core-1.2.0/google/api_core/grpc_helpers.py 2018-05-18
18:12:51.000000000 +0200
@@ -358,3 +358,7 @@
def unsubscribe(self, callback):
"""grpc.Channel.unsubscribe implementation."""
pass
+
+ def close(self):
+ """grpc.Channel.close implementation."""
+ pass
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/google-api-core-1.1.2/google_api_core.egg-info/PKG-INFO
new/google-api-core-1.2.0/google_api_core.egg-info/PKG-INFO
--- old/google-api-core-1.1.2/google_api_core.egg-info/PKG-INFO 2018-05-01
18:37:45.000000000 +0200
+++ new/google-api-core-1.2.0/google_api_core.egg-info/PKG-INFO 2018-05-25
23:28:52.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: google-api-core
-Version: 1.1.2
+Version: 1.2.0
Summary: Google API client core library
Home-page: https://github.com/GoogleCloudPlatform/google-cloud-python
Author: Google LLC
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/google-api-core-1.1.2/setup.py
new/google-api-core-1.2.0/setup.py
--- old/google-api-core-1.1.2/setup.py 2018-05-01 18:36:45.000000000 +0200
+++ new/google-api-core-1.2.0/setup.py 2018-05-18 18:12:51.000000000 +0200
@@ -22,7 +22,7 @@
name = 'google-api-core'
description = 'Google API client core library'
-version = '1.1.2'
+version = '1.2.0'
# Should be one of:
# 'Development Status :: 3 - Alpha'
# 'Development Status :: 4 - Beta'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/google-api-core-1.1.2/tests/unit/test_grpc_helpers.py
new/google-api-core-1.2.0/tests/unit/test_grpc_helpers.py
--- old/google-api-core-1.1.2/tests/unit/test_grpc_helpers.py 2018-04-25
19:05:26.000000000 +0200
+++ new/google-api-core-1.2.0/tests/unit/test_grpc_helpers.py 2018-05-18
18:12:51.000000000 +0200
@@ -375,3 +375,7 @@
channel = grpc_helpers.ChannelStub()
assert channel.subscribe(None) is None
assert channel.unsubscribe(None) is None
+
+ def test_close(self):
+ channel = grpc_helpers.ChannelStub()
+ assert channel.close() is None