python-google-api-python-cl.../python-google-api-python-client.spec

82 lines
3.2 KiB
RPMSpec
Raw Normal View History

#
2016-10-18 17:26:41 +00:00
# spec file for package python-google-api-python-client
#
Accepting request 1056261 from home:yarunachalam:branches:devel:languages:python - Update to version 2.70.0 * Features appengine: update the api https://togithub.com/googleapis/google-api-python-client/commit/f3ae3793e74aae883aa8f3bca7d2d75227c99cbd (1506e28) bigquery: update the api https://togithub.com/googleapis/google-api-python-client/commit/9d8a28de9f2709a066cc62765132688f5a4eeba3 (1506e28) chat: update the api https://togithub.com/googleapis/google-api-python-client/commit/4b6ec2a405226f54a846e820be38c4be7e161df3 (1506e28) cloudbilling: update the api https://togithub.com/googleapis/google-api-python-client/commit/6de2af2c211a03d3f9443a89f222c1953d6bec9b (1506e28) cloudchannel: update the api https://togithub.com/googleapis/google-api-python-client/commit/bfbc1b18e9676ab2a7ef322c9ae2ff40bfc0c05e (1506e28) compute: update the api https://togithub.com/googleapis/google-api-python-client/commit/3ad8d540283d6153aeb7e7e5da043515fdd8feae (1506e28) connectors: update the api https://togithub.com/googleapis/google-api-python-client/commit/632cba551d23e3ac8c9044c56f1e3ebbce77ba1c (1506e28) contactcenterinsights: update the api https://togithub.com/googleapis/google-api-python-client/commit/6e512d6e138192e0312e44534b7904e95c36d0fe (1506e28) container: update the api https://togithub.com/googleapis/google-api-python-client/commit/05c853aec288828267afb32571d7f5ad8ac97cdf (1506e28) contentwarehouse: update the api https://togithub.com/googleapis/google-api-python-client/commit/720850e6a8a7cf0cd96170a3b82da993c2967b26 (1506e28) dataflow: update the api https://togithub.com/googleapis/google-api-python-client/commit/1b55a02805496e9431dbf173221958419400f905 (1506e28) dataproc: update the api https://togithub.com/googleapis/google-api-python-client/commit/952d0d1df1ce352ec5d53d9d2eb4fa07629d3c62 (1506e28) documentai: update the api https://togithub.com/googleapis/google-api-python-client/commit/9e0a2601bc52633ff3e3f70800977724fd1f7e0b (1506e28) gkehub: update the api https://togithub.com/googleapis/google-api-python-client/commit/e7a24b27433543dc8afd609bf6340a219456deef (1506e28) ids: update the api https://togithub.com/googleapis/google-api-python-client/commit/d7ca9ebf543d4cb3dbfae00a58862c7300466741 (1506e28) metastore: update the api https://togithub.com/googleapis/google-api-python-client/commit/23800233fe99f56885846fdcd927801b5641b6d3 (1506e28) networksecurity: update the api https://togithub.com/googleapis/google-api-python-client/commit/5cd2d575dc6b58695c3c3f3d32424949f2189f0f (1506e28) pubsublite: update the api https://togithub.com/googleapis/google-api-python-client/commit/ddc2cac9d91b7eb18421695895b41965c2658ac2 (1506e28) recaptchaenterprise: update the api https://togithub.com/googleapis/google-api-python-client/commit/85bf9110ba2ab06d6cc22e8b6c4b7b74309ea0fd (1506e28) servicenetworking: update the api https://togithub.com/googleapis/google-api-python-client/commit/310a96ffbd7672f55acc62a129f54b98b46506d9 (1506e28) sts: update the api https://togithub.com/googleapis/google-api-python-client/commit/e5219026edb8f430f68775cf96e0195a39e1a613 (1506e28) workflowexecutions: update the api https://togithub.com/googleapis/google-api-python-client/commit/3ff77236759bf338f5f295ae0e7453184bfbd745 (1506e28) OBS-URL: https://build.opensuse.org/request/show/1056261 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-api-python-client?expand=0&rev=64
2023-01-05 19:42:17 +00:00
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
- Update to 2.20.0: * Adds support for errors.py to also use 'errors' for error_details (#1281) (a5d2081) * add status_code property on http error handling (#1185) (db2a766) * Change default of static_discovery when discoveryServiceUrl set (#1261) (3b4f2e2) * correct api version in oauth-installed.md (#1258) (d1a255f) * fix .close() (#1231) (a9583f7) * Resolve issue where num_retries would have no effect (#1244) (c518472) * Include discovery artifacts in published package (#1221) (ad618d0) * Require Python 3.6+ * Add support for using static discovery documents (#1109) (32d1c59) * Update synth.py to copy discovery files from discovery-artifact-manager (#1104) (af918e8) * Catch ECONNRESET and other errors more reliably (#1147) (ae9cd99) * deps: add upper-bound google-auth dependency (#1180) (c687f42) * handle error on service not enabled (#1117) (c691283) * Improve support for error_details (#1126) (e6a1da3) * MediaFileUpload error if file does not exist (#1127) (2c6d029) * replace deprecated socket.error with OSError (#1161) (b7b9986) * Use logging level info when file_cache is not available (#1125) (0b32e69) * add httplib2 authorization to thread_safety (#1005) (205ae59), closes #808 * Change error parsing to check for 'message' (#1083) (a341c5a), closes #1082 * don't raise when downloading zero byte files (#1074) (86d8788) - Refreshed python-google-api-python-client-no-unittest2.patch OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-api-python-client?expand=0&rev=42
2021-09-13 01:42:38 +00:00
%define skip_python2 1
2016-10-18 17:26:41 +00:00
Name: python-google-api-python-client
Accepting request 1056261 from home:yarunachalam:branches:devel:languages:python - Update to version 2.70.0 * Features appengine: update the api https://togithub.com/googleapis/google-api-python-client/commit/f3ae3793e74aae883aa8f3bca7d2d75227c99cbd (1506e28) bigquery: update the api https://togithub.com/googleapis/google-api-python-client/commit/9d8a28de9f2709a066cc62765132688f5a4eeba3 (1506e28) chat: update the api https://togithub.com/googleapis/google-api-python-client/commit/4b6ec2a405226f54a846e820be38c4be7e161df3 (1506e28) cloudbilling: update the api https://togithub.com/googleapis/google-api-python-client/commit/6de2af2c211a03d3f9443a89f222c1953d6bec9b (1506e28) cloudchannel: update the api https://togithub.com/googleapis/google-api-python-client/commit/bfbc1b18e9676ab2a7ef322c9ae2ff40bfc0c05e (1506e28) compute: update the api https://togithub.com/googleapis/google-api-python-client/commit/3ad8d540283d6153aeb7e7e5da043515fdd8feae (1506e28) connectors: update the api https://togithub.com/googleapis/google-api-python-client/commit/632cba551d23e3ac8c9044c56f1e3ebbce77ba1c (1506e28) contactcenterinsights: update the api https://togithub.com/googleapis/google-api-python-client/commit/6e512d6e138192e0312e44534b7904e95c36d0fe (1506e28) container: update the api https://togithub.com/googleapis/google-api-python-client/commit/05c853aec288828267afb32571d7f5ad8ac97cdf (1506e28) contentwarehouse: update the api https://togithub.com/googleapis/google-api-python-client/commit/720850e6a8a7cf0cd96170a3b82da993c2967b26 (1506e28) dataflow: update the api https://togithub.com/googleapis/google-api-python-client/commit/1b55a02805496e9431dbf173221958419400f905 (1506e28) dataproc: update the api https://togithub.com/googleapis/google-api-python-client/commit/952d0d1df1ce352ec5d53d9d2eb4fa07629d3c62 (1506e28) documentai: update the api https://togithub.com/googleapis/google-api-python-client/commit/9e0a2601bc52633ff3e3f70800977724fd1f7e0b (1506e28) gkehub: update the api https://togithub.com/googleapis/google-api-python-client/commit/e7a24b27433543dc8afd609bf6340a219456deef (1506e28) ids: update the api https://togithub.com/googleapis/google-api-python-client/commit/d7ca9ebf543d4cb3dbfae00a58862c7300466741 (1506e28) metastore: update the api https://togithub.com/googleapis/google-api-python-client/commit/23800233fe99f56885846fdcd927801b5641b6d3 (1506e28) networksecurity: update the api https://togithub.com/googleapis/google-api-python-client/commit/5cd2d575dc6b58695c3c3f3d32424949f2189f0f (1506e28) pubsublite: update the api https://togithub.com/googleapis/google-api-python-client/commit/ddc2cac9d91b7eb18421695895b41965c2658ac2 (1506e28) recaptchaenterprise: update the api https://togithub.com/googleapis/google-api-python-client/commit/85bf9110ba2ab06d6cc22e8b6c4b7b74309ea0fd (1506e28) servicenetworking: update the api https://togithub.com/googleapis/google-api-python-client/commit/310a96ffbd7672f55acc62a129f54b98b46506d9 (1506e28) sts: update the api https://togithub.com/googleapis/google-api-python-client/commit/e5219026edb8f430f68775cf96e0195a39e1a613 (1506e28) workflowexecutions: update the api https://togithub.com/googleapis/google-api-python-client/commit/3ff77236759bf338f5f295ae0e7453184bfbd745 (1506e28) OBS-URL: https://build.opensuse.org/request/show/1056261 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-api-python-client?expand=0&rev=64
2023-01-05 19:42:17 +00:00
Version: 2.70.0
Release: 0
Summary: Google APIs Python Client
License: Apache-2.0
URL: https://github.com/google/google-api-python-client
Source: https://files.pythonhosted.org/packages/source/g/google-api-python-client/google-api-python-client-%{version}.tar.gz
# PATCH-FIX-OPENSUSE opensuse-remove-oauth2client-tests.patch -- upstream wants to support and test deprecated oauth2client indefinitely, but
# the distro has to remove it at some point
Patch0: opensuse-remove-oauth2client-tests.patch
BuildRequires: %{python_module google-api-core >= 1.31.5}
BuildRequires: %{python_module google-auth >= 1.19.0}
- Update to 2.20.0: * Adds support for errors.py to also use 'errors' for error_details (#1281) (a5d2081) * add status_code property on http error handling (#1185) (db2a766) * Change default of static_discovery when discoveryServiceUrl set (#1261) (3b4f2e2) * correct api version in oauth-installed.md (#1258) (d1a255f) * fix .close() (#1231) (a9583f7) * Resolve issue where num_retries would have no effect (#1244) (c518472) * Include discovery artifacts in published package (#1221) (ad618d0) * Require Python 3.6+ * Add support for using static discovery documents (#1109) (32d1c59) * Update synth.py to copy discovery files from discovery-artifact-manager (#1104) (af918e8) * Catch ECONNRESET and other errors more reliably (#1147) (ae9cd99) * deps: add upper-bound google-auth dependency (#1180) (c687f42) * handle error on service not enabled (#1117) (c691283) * Improve support for error_details (#1126) (e6a1da3) * MediaFileUpload error if file does not exist (#1127) (2c6d029) * replace deprecated socket.error with OSError (#1161) (b7b9986) * Use logging level info when file_cache is not available (#1125) (0b32e69) * add httplib2 authorization to thread_safety (#1005) (205ae59), closes #808 * Change error parsing to check for 'message' (#1083) (a341c5a), closes #1082 * don't raise when downloading zero byte files (#1074) (86d8788) - Refreshed python-google-api-python-client-no-unittest2.patch OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-api-python-client?expand=0&rev=42
2021-09-13 01:42:38 +00:00
BuildRequires: %{python_module google-auth-httplib2 >= 0.1.0}
BuildRequires: %{python_module httplib2 >= 0.15.0}
BuildRequires: %{python_module pandas}
BuildRequires: %{python_module parameterized}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module uritemplate >= 3.0.1}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-google-api-core >= 1.31.5
Requires: python-google-auth >= 1.19.0
- Update to 2.20.0: * Adds support for errors.py to also use 'errors' for error_details (#1281) (a5d2081) * add status_code property on http error handling (#1185) (db2a766) * Change default of static_discovery when discoveryServiceUrl set (#1261) (3b4f2e2) * correct api version in oauth-installed.md (#1258) (d1a255f) * fix .close() (#1231) (a9583f7) * Resolve issue where num_retries would have no effect (#1244) (c518472) * Include discovery artifacts in published package (#1221) (ad618d0) * Require Python 3.6+ * Add support for using static discovery documents (#1109) (32d1c59) * Update synth.py to copy discovery files from discovery-artifact-manager (#1104) (af918e8) * Catch ECONNRESET and other errors more reliably (#1147) (ae9cd99) * deps: add upper-bound google-auth dependency (#1180) (c687f42) * handle error on service not enabled (#1117) (c691283) * Improve support for error_details (#1126) (e6a1da3) * MediaFileUpload error if file does not exist (#1127) (2c6d029) * replace deprecated socket.error with OSError (#1161) (b7b9986) * Use logging level info when file_cache is not available (#1125) (0b32e69) * add httplib2 authorization to thread_safety (#1005) (205ae59), closes #808 * Change error parsing to check for 'message' (#1083) (a341c5a), closes #1082 * don't raise when downloading zero byte files (#1074) (86d8788) - Refreshed python-google-api-python-client-no-unittest2.patch OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-api-python-client?expand=0&rev=42
2021-09-13 01:42:38 +00:00
Requires: python-google-auth-httplib2 >= 0.1.0
Requires: python-httplib2 >= 0.15.0
Requires: python-uritemplate >= 3.0.1
2016-10-18 17:26:41 +00:00
# Package renamed in SLE 12, do not remove Provides, Obsolete directives
# until after SLE 12 EOL
Provides: google-api-python-client = %{version}
Obsoletes: google-api-python-client < %{version}
BuildArch: noarch
%python_subpackages
2016-10-18 17:26:41 +00:00
%description
Google APIs Client Library for Python
%prep
%autosetup -p1 -n google-api-python-client-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# DiscoveryErrors::test_credentials_and_credentials_file_mutually_exclusive fails with "socket.gaierror: [Errno -3] Temporary failure in name resolution"
donttest="test_credentials_and_credentials_file_mutually_exclusive"
# don't test deprecated oaut2client usage
donttest="$donttest or TestAuthWithOAuth2Client or test_oauth2client_crendentials"
# test_http.py uses mocked Credentials class and API from deprecated oauth2client
%pytest --ignore=samples --ignore tests/test_http.py -k "not ($donttest)"
%files %{python_files}
%doc README.md
%license LICENSE
%{python_sitelib}/apiclient
%{python_sitelib}/googleapiclient
%{python_sitelib}/google_api_python_client-%{version}*-info
%changelog