Recommended update for python-cachetools, python-google-api-python-client, python-google-auth, python-google-auth-httplib2

SUSE Recommended Update: Recommended update for python-cachetools, python-google-api-python-client, python-google-auth, python-google-auth-httplib2
Announcement ID: SUSE-RU-2020:1067-1
Rating: moderate
References: #1160933
Affected Products:
  • SUSE OpenStack Cloud 7
  • SUSE Manager Server 3.2
  • SUSE Linux Enterprise Module for Public Cloud 12

An update that has one recommended fix can now be installed.


This update for python-cachetools, python-google-api-python-client, python-google-auth, python-google-auth-httplib2 fixes the following issues:
python-cachetools was updated to version 2.0.1:

  • Officially support Python 3.6.
  • Move documentation to RTD.
  • Documentation: Update import paths for key functions (courtesy of slavkoja).

Version update to 2.0.0:
  • Drop support for deprecated features (breaking change).
  • Move key functions to separate package (breaking change).
  • Accept non-integer ``maxsize`` in ``Cache.__repr__()``.

python-google-api-python-client was updated to 1.7.4:
  • just series of minor bugfixes

Version update to 1.6.7:
  • Make body optional for requests with no parameters. (#446)
  • Fix retying on socket.timeout. (#495)
  • Match travis matrix with tox testenv. (#498)
  • Remove oauth2client._helpers dependency. (#493)
  • Remove unused keyring test dependency. (#496)
  • remove unused oauth2client import. (#492)
  • Update README to reference GCP API client libraries. (#490)
  • Warn when constructing BatchHttpRequest using the legacy batch URI (#488)
  • Increase the default media chunksize to 100MB. (#482)
  • Remove unnecessary parsing of mime headers in HttpRequest.__init__ (#467)
  • Proactively refresh credentials when applying and treat a missing `access_token` as invalid. Note: This change reveals surprising behavior between default credentials and batches. If you allow `` to use default credentials *and* specify different credentials by providing `batch.execut()` with an explicit `http` argument, your individual requests will use the default credentials and *not* the credentials specified to the batch http. To avoid this, tell `build` explicitly not to use default credentials by specifying `build(..., http=httplib2.Http()`. (#469)
  • Remove mutual exclusivity check for developerKey and credentials (#465)
  • Handle unknown media length. (#406)
  • Handle variant error format gracefully. (#459)

update to version 1.6.4:
  • Warn when google-auth credentials are used but google-auth-httplib2 isn't available. (#443)

changes from version 1.6.3:
  • Add notification of maintenance mode to README. (#410)
  • Fix generation of methods with abnormal page token conventions. (#338)
  • Raise ValueError is credentials and developerKey are both specified. (#358)
  • Re-generate documentation. (#364, #373, #401)
  • Fix method signature documentation for multiline required parameters. (#374)
  • Fix ZeroDivisionError in MediaDownloadProgress.progress. (#377)
  • Fix dead link to WebTest in README. (#378)
  • Fix details missing in googleapiclient.errors.HttpError. (#412)
  • Don't treat httplib2.Credentials as oauth credentials. (#425)
  • Various fixes to the Django sample. (#413)

Update to Version 1.6.2
  • Fixed a bug where application default credentials would still be used even when a developerKey was specified. (#347)
  • Official support for Python 3.5 and 3.6. (#341)

Update to Version 1.6.1
  • Fixed a bug where using google-auth with scoped credentials would fail. (#328)

Update to Version 1.6.0
  • Support for Python 2.6 has been dropped. (#319)
  • The credentials argument to and discovery.build_from_document can be either oauth2client credentials or google-auth credentials. (#319)
  • and discovery.build_from_document now unambiguously use the http argument to make all requests, including the request for the discovery document. (#319)
  • The http and credentials arguments to and discovery.build_from_document are now mutually exclusive, eliminating a buggy edge case. (#319)
  • If neither http or credentials is specified to and discovery.build_from_document, then Application Default Credentials will be used. The library prefers google-auth for this if it is available, but can also use oauth2client's implementation. (#319)
  • Fixed resumable upload failure when receiving a 308 response. (#312)
  • Clarified the support versions of Python 3. (#316)

Update to Version 1.5.5
  • Allow explicit MIME type specification with media_mime_type keyword argument.
  • Fix unprintable representation of BatchError with default constructor. (#165)
  • Refresh all discovery docs, not just the preferred ones. (#298)
  • Update minimum httplib2 dependency to >=0.9.2.

  • Conform with openSUSE/SUSE naming policy
  • Properly handle errors when the API returns a mapping or sequence. (#289)
  • Upgrade to unified uritemplate 3.0.0. (#293)
  • Allow oauth2client 4.0.0, with the caveat that file-based discovery
  • Allow using oauth2client >= 1.5.0, < 4.0.0. (#265)
  • Fix project_id argument description. (#257)
  • Retry chunk uploaded on rate limit exceeded errors. (#255)
  • Obtain access token if necessary in BatchHttpRequest.execute(). (#232)
  • Warn when running tests using HttpMock without having a cache. (#261)
  • Allow using versions of oauth2client < 2.0.0. (#197)
  • Check both current and new API discovery URL. (#202)
  • Retry http requests on connection errors and timeouts. (#218)
  • Retry http requests on rate limit responses. (#201)
  • Import guards for ssl (for Google App Engine). (#220)
  • Use named loggers instead of the root logger. (#206)
  • New search console example. (#212)
  • Fix file stream recognition in Python 3 (#141)
  • Fix non-resumable binary uploads in Python 3 (#147)
  • Default to 'octet-stream' if mimetype detection fails (#157)
  • Handle SSL errors with retries (#160)
  • Fix incompatibility with oauth2client v2.0.0 (#182)
  • oauth2client is now a separate package python-oauth2client
  • Need to update this version as the previous embedded version for
  • Add the googleapiclient.discovery.Resource.new_batch_http_request method.
  • Fix an infinite loop for downloading small files.
  • Fix a unicode error in error encoding.
  • Better handling of `content-length` in media requests.
  • Add support for methodPath entries containing colon.
  • Quick release for a fix around aliasing in v1.3.
  • Add support for the Google Application Default Credentials.
  • Update several API samples.
  • Finish splitting out oauth2client repo and update tests.
  • Various doc cleanup and bugfixes.
  • Two important notes: * The use of the gflags library is now deprecated, and is no longer a * Samples have been updated to use the new apiclient.sample_tools, and no
  • Added support for the experimental Object Change Notification, as found in
  • The oauth2client App Engine decorators are now threadsafe.
  • Use the following redirects feature of httplib2 where it returns the
  • Updated AdSense Management API samples to V1.3
  • Add option to automatically retry requests.
  • Ability to list registered keys in multistore_file.
  • User-agent must contain (gzip).
  • The 'method' parameter for httplib2 is not positional. This would cause
  • Making OAuth2Decorator more extensible. Fixes Issue 256.
  • Update AdExchange Buyer API examples to version v1.2.

python-google-auth was update to 1.5.1:
  • Fix check for error text on Python 3.7. (#278)
  • Use new Auth URIs. (#281)
  • Add code-of-conduct document. (#270)
  • Fix some typos in (#268)
  • Warn when using user credentials from the Cloud SDK (#266)
  • Add compute engine-based IDTokenCredentials (#236)
  • Corrected some typos (#265)

python-google-auth-httplib2 was updated to add:
  • Initial commit, needed by google-api-python-client

Patch Instructions:

To install this SUSE Recommended Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
Alternatively you can run the command listed for your product:

  • SUSE OpenStack Cloud 7:
    zypper in -t patch SUSE-OpenStack-Cloud-7-2020-1067=1
  • SUSE Manager Server 3.2:
    zypper in -t patch SUSE-SUSE-Manager-Server-3.2-2020-1067=1
  • SUSE Linux Enterprise Module for Public Cloud 12:
    zypper in -t patch SUSE-SLE-Module-Public-Cloud-12-2020-1067=1

Package List:

  • SUSE OpenStack Cloud 7 (noarch):
    • python-httplib2-0.9.2-7.4.1
  • SUSE Manager Server 3.2 (noarch):
    • python-httplib2-0.9.2-7.4.1
  • SUSE Linux Enterprise Module for Public Cloud 12 (noarch):
    • python-cachetools-2.0.1-2.6.1
    • python-google-api-python-client-1.7.4-8.3.1
    • python-google-auth-1.5.1-2.6.1
    • python-google-auth-httplib2-0.0.3-2.3.1
    • python-httplib2-0.9.2-7.4.1
    • python3-cachetools-2.0.1-2.6.1