From f493027cae843717a9261e445f9c175bede41544c9e3b79b92934438311901f8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= <tchvatal@suse.com>
Date: Fri, 28 Aug 2020 12:21:22 +0000
Subject: [PATCH 1/3] - Fix dependency on google-auth to have proper version
 constrain

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-api-core?expand=0&rev=29
---
 python-google-api-core.changes | 5 +++++
 python-google-api-core.spec    | 7 +++----
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/python-google-api-core.changes b/python-google-api-core.changes
index 8b4d579..c7e64d5 100644
--- a/python-google-api-core.changes
+++ b/python-google-api-core.changes
@@ -1,3 +1,8 @@
+-------------------------------------------------------------------
+Fri Aug 28 12:20:45 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
+
+- Fix dependency on google-auth to have proper version constrain
+
 -------------------------------------------------------------------
 Thu Aug 20 08:02:56 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
 
diff --git a/python-google-api-core.spec b/python-google-api-core.spec
index 61dfb4a..8d2f932 100644
--- a/python-google-api-core.spec
+++ b/python-google-api-core.spec
@@ -26,7 +26,7 @@ License:        Apache-2.0
 Group:          Development/Languages/Python
 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 google-auth >= 0.4.0}
+BuildRequires:  %{python_module google-auth >= 1.14.0}
 BuildRequires:  %{python_module googleapis-common-protos >= 1.6.0}
 BuildRequires:  %{python_module grpcio >= 1.8.2}
 BuildRequires:  %{python_module grpcio-gcp >= 0.2.2}
@@ -39,7 +39,7 @@ BuildRequires:  %{python_module setuptools >= 34.0.0}
 BuildRequires:  %{python_module six >= 1.10.0}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:       python-google-auth >= 0.4.0
+Requires:       python-google-auth >= 1.14.0
 Requires:       python-googleapis-common-protos >= 1.6.0
 Requires:       python-grpcio >= 1.8.2
 Requires:       python-protobuf >= 3.4.0
@@ -73,8 +73,7 @@ Core Library for Google Client Libraries
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-# test___call___and_execute_retry_hitting_deadline - broken on Leap with old mock
-%pytest -k 'not test___call___and_execute_retry_hitting_deadline'
+%pytest
 
 %files %{python_files}
 %license LICENSE

From 9dafc36d9bb0ff5a218b251d66fbb008c2cd4231ff0c57b16f0741334bcb3ba9 Mon Sep 17 00:00:00 2001
From: Robert Schweikert <rjschwei@suse.com>
Date: Thu, 10 Sep 2020 13:47:44 +0000
Subject: [PATCH 2/3] Accepting request 833478 from
 home:glaubitz:branches:devel:languages:python

- Update to 1.22.2
  * only add quota project id if supported (#75)
- from version 1.22.1
  * fix spelling errors for amount in retry (#69)
- from version 1.22.0
  * allow quota project to be passed to create_channel (#58)
  * _determine_timeout problem handling float type timeout (#64)
  * change the documentation for using 'six.moves.collections_abc.Mapping'
    instead of 'dict' in 'client_options.from_dict()' (#53)
- from version 1.21.0
  * allow credentials files to be passed for channel creation (#50)
- from version 1.20.1
  * **dependencies:** increase protobuf version (#49), closes (#48)
- from version 1.20.0
  * allow disabling response stream pre-fetch (#30), closes (#25)
- from version 1.19.1
  * bump up grpcio minimum version to 1.29.0 (#41)
- from version 1.19.0
  * **client_options:** add new client options 'quota_project_id', 'scopes',
    and 'credentials_file'
- from version 1.18.0
  * [CBT-6 helper] Exposing Retry._deadline as a property (#20)
  * add client_encryped_cert_source to ClientOptions (#31)
  * AsyncIO Integration [Part 2] (#28), closes (#23)
  * First batch of AIO integration (#26)
  * third batch of AsyncIO integration (#29)
- Update BuildRequires and Requires from setup.py

OBS-URL: https://build.opensuse.org/request/show/833478
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-api-core?expand=0&rev=30
---
 google-api-core-1.17.0.tar.gz  |  3 ---
 google-api-core-1.22.2.tar.gz  |  3 +++
 python-google-api-core.changes | 31 +++++++++++++++++++++++++++++++
 python-google-api-core.spec    | 14 +++++++-------
 4 files changed, 41 insertions(+), 10 deletions(-)
 delete mode 100644 google-api-core-1.17.0.tar.gz
 create mode 100644 google-api-core-1.22.2.tar.gz

diff --git a/google-api-core-1.17.0.tar.gz b/google-api-core-1.17.0.tar.gz
deleted file mode 100644
index c975736..0000000
--- a/google-api-core-1.17.0.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:e4082a0b479dc2dee2f8d7b80ea8b5d0184885b773caab15ab1836277a01d689
-size 77891
diff --git a/google-api-core-1.22.2.tar.gz b/google-api-core-1.22.2.tar.gz
new file mode 100644
index 0000000..f266a5f
--- /dev/null
+++ b/google-api-core-1.22.2.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:779107f17e0fef8169c5239d56a8fbff03f9f72a3893c0c9e5842ec29dfedd54
+size 92933
diff --git a/python-google-api-core.changes b/python-google-api-core.changes
index c7e64d5..3816bac 100644
--- a/python-google-api-core.changes
+++ b/python-google-api-core.changes
@@ -1,3 +1,34 @@
+-------------------------------------------------------------------
+Thu Sep 10 11:52:56 UTC 2020 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
+
+- Update to 1.22.2
+  * only add quota project id if supported (#75)
+- from version 1.22.1
+  * fix spelling errors for amount in retry (#69)
+- from version 1.22.0
+  * allow quota project to be passed to create_channel (#58)
+  * _determine_timeout problem handling float type timeout (#64)
+  * change the documentation for using 'six.moves.collections_abc.Mapping'
+    instead of 'dict' in 'client_options.from_dict()' (#53)
+- from version 1.21.0
+  * allow credentials files to be passed for channel creation (#50)
+- from version 1.20.1
+  * **dependencies:** increase protobuf version (#49), closes (#48)
+- from version 1.20.0
+  * allow disabling response stream pre-fetch (#30), closes (#25)
+- from version 1.19.1
+  * bump up grpcio minimum version to 1.29.0 (#41)
+- from version 1.19.0
+  * **client_options:** add new client options 'quota_project_id', 'scopes',
+    and 'credentials_file'
+- from version 1.18.0
+  * [CBT-6 helper] Exposing Retry._deadline as a property (#20)
+  * add client_encryped_cert_source to ClientOptions (#31)
+  * AsyncIO Integration [Part 2] (#28), closes (#23)
+  * First batch of AIO integration (#26)
+  * third batch of AsyncIO integration (#29)
+- Update BuildRequires and Requires from setup.py
+
 -------------------------------------------------------------------
 Fri Aug 28 12:20:45 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
 
diff --git a/python-google-api-core.spec b/python-google-api-core.spec
index 8d2f932..57d616b 100644
--- a/python-google-api-core.spec
+++ b/python-google-api-core.spec
@@ -19,19 +19,19 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %bcond_without python2
 Name:           python-google-api-core
-Version:        1.17.0
+Version:        1.22.2
 Release:        0
 Summary:        Google API client core library
 License:        Apache-2.0
 Group:          Development/Languages/Python
 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 google-auth >= 1.14.0}
+BuildRequires:  %{python_module google-auth >= 1.21.1}
 BuildRequires:  %{python_module googleapis-common-protos >= 1.6.0}
-BuildRequires:  %{python_module grpcio >= 1.8.2}
+BuildRequires:  %{python_module grpcio >= 1.29.0}
 BuildRequires:  %{python_module grpcio-gcp >= 0.2.2}
 BuildRequires:  %{python_module mock}
-BuildRequires:  %{python_module protobuf >= 3.4.0}
+BuildRequires:  %{python_module protobuf >= 3.12.0}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module pytz}
 BuildRequires:  %{python_module requests >= 2.18.0}
@@ -39,10 +39,10 @@ BuildRequires:  %{python_module setuptools >= 34.0.0}
 BuildRequires:  %{python_module six >= 1.10.0}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:       python-google-auth >= 1.14.0
+Requires:       python-google-auth >= 1.21.1
 Requires:       python-googleapis-common-protos >= 1.6.0
-Requires:       python-grpcio >= 1.8.2
-Requires:       python-protobuf >= 3.4.0
+Requires:       python-grpcio >= 1.29.0
+Requires:       python-protobuf >= 3.12.0
 Requires:       python-pytz
 Requires:       python-requests >= 2.18.0
 Requires:       python-setuptools >= 34.0.0

From 2d0d0d9981e1d7e073cbe8d9bb214c357b64a5a5b52d063e7c07023e0cef57f2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= <tchvatal@suse.com>
Date: Thu, 8 Oct 2020 07:25:57 +0000
Subject: [PATCH 3/3] Accepting request 840052 from
 home:jayvdb:branches:devel:languages:python

- Update URL to match PyPI: https://github.com/googleapis/python-api-core
- Update to v1.22.4
  * use version.py instead of pkg_resources.get_distribution
- from v1.22.3
  * require six >= 1.13.0

OBS-URL: https://build.opensuse.org/request/show/840052
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-api-core?expand=0&rev=31
---
 google-api-core-1.22.2.tar.gz  |  3 ---
 google-api-core-1.22.4.tar.gz  |  3 +++
 python-google-api-core.changes |  9 +++++++++
 python-google-api-core.spec    | 10 +++++-----
 4 files changed, 17 insertions(+), 8 deletions(-)
 delete mode 100644 google-api-core-1.22.2.tar.gz
 create mode 100644 google-api-core-1.22.4.tar.gz

diff --git a/google-api-core-1.22.2.tar.gz b/google-api-core-1.22.2.tar.gz
deleted file mode 100644
index f266a5f..0000000
--- a/google-api-core-1.22.2.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:779107f17e0fef8169c5239d56a8fbff03f9f72a3893c0c9e5842ec29dfedd54
-size 92933
diff --git a/google-api-core-1.22.4.tar.gz b/google-api-core-1.22.4.tar.gz
new file mode 100644
index 0000000..e97c4e0
--- /dev/null
+++ b/google-api-core-1.22.4.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:4a9d7ac2527a9e298eebb580a5e24e7e41d6afd97010848dd0f306cae198ec1a
+size 93054
diff --git a/python-google-api-core.changes b/python-google-api-core.changes
index 3816bac..55b12f5 100644
--- a/python-google-api-core.changes
+++ b/python-google-api-core.changes
@@ -1,3 +1,12 @@
+-------------------------------------------------------------------
+Wed Oct  7 06:13:07 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
+
+- Update URL to match PyPI: https://github.com/googleapis/python-api-core
+- Update to v1.22.4
+  * use version.py instead of pkg_resources.get_distribution
+- from v1.22.3
+  * require six >= 1.13.0
+
 -------------------------------------------------------------------
 Thu Sep 10 11:52:56 UTC 2020 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
 
diff --git a/python-google-api-core.spec b/python-google-api-core.spec
index 57d616b..1e9521c 100644
--- a/python-google-api-core.spec
+++ b/python-google-api-core.spec
@@ -19,12 +19,12 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %bcond_without python2
 Name:           python-google-api-core
-Version:        1.22.2
+Version:        1.22.4
 Release:        0
 Summary:        Google API client core library
 License:        Apache-2.0
 Group:          Development/Languages/Python
-URL:            https://github.com/GoogleCloudPlatform/google-cloud-python
+URL:            https://github.com/googleapis/python-api-core
 Source:         https://files.pythonhosted.org/packages/source/g/google-api-core/google-api-core-%{version}.tar.gz
 BuildRequires:  %{python_module google-auth >= 1.21.1}
 BuildRequires:  %{python_module googleapis-common-protos >= 1.6.0}
@@ -36,7 +36,7 @@ BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module pytz}
 BuildRequires:  %{python_module requests >= 2.18.0}
 BuildRequires:  %{python_module setuptools >= 34.0.0}
-BuildRequires:  %{python_module six >= 1.10.0}
+BuildRequires:  %{python_module six >= 1.13.0}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-google-auth >= 1.21.1
@@ -46,7 +46,7 @@ Requires:       python-protobuf >= 3.12.0
 Requires:       python-pytz
 Requires:       python-requests >= 2.18.0
 Requires:       python-setuptools >= 34.0.0
-Requires:       python-six >= 1.10.0
+Requires:       python-six >= 1.13.0
 Suggests:       python-grpcio-gcp >= 0.2.2
 BuildArch:      noarch
 %if %{with python2}
@@ -60,7 +60,7 @@ Requires:       python-futures >= 3.2.0
 %python_subpackages
 
 %description
-Core Library for Google Client Libraries
+Core Library for Google Client Libraries.
 
 %prep
 %setup -q -n google-api-core-%{version}