[arvados] created: 2.5.0-3-g1c9c63e7c
git repository hosting
git at public.arvados.org
Mon Jan 9 14:25:17 UTC 2023
at 1c9c63e7cb21d97dbeae5568cb64d06884f37613 (commit)
commit 1c9c63e7cb21d97dbeae5568cb64d06884f37613
Author: Brett Smith <brett.smith at curii.com>
Date: Mon Jan 9 09:14:22 2023 -0500
19895: Upgrade google-api-python-client
Version 2.0 tries to load all discovery documents from a local cache. It
added a new argument to discovery.build(static_discovery=False) to
retrieve the discovery document from the network.
Version 2.1 improves backwards compatibility by having static_discovery
default to False when you pass an explicit discoveryServiceUrl to
discovery.build(). We always do this (see
arvados.api.normalize_api_kwargs), so we can upgrade to version 2.1
without making any changes to our own SDK.
Doing so is just good hygiene, and makes life easier for users who want
to build projects that use both Google services and Arvados.
Version 2.1 was released on 2021-03-31, so this new version requirement
should be easy enough for most users to satisfy.
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith at curii.com>
diff --git a/sdk/python/setup.py b/sdk/python/setup.py
index 1daafc97a..1c65c4ced 100644
--- a/sdk/python/setup.py
+++ b/sdk/python/setup.py
@@ -49,7 +49,7 @@ setup(name='arvados-python-client',
'ciso8601 >=2.0.0',
'future',
'google-api-core <2.11.0', # 2.11.0rc1 is incompatible with google-auth<2
- 'google-api-python-client >=1.6.2, <2',
+ 'google-api-python-client >=2.1.0',
'google-auth<2',
'httplib2 >=0.9.2, <0.20.2',
'pycurl >=7.19.5.1, <7.45.0',
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list