1.5.0 xenial update needed due to oauth2client changes

Bug #1582713 reported by Richard Fearn
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python-googleapi (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Please see: https://github.com/google/google-api-python-client/issues/179

oauth2client 2.0.0 moved some modules to a 'contrib' subpackage. A corresponding update was needed to google-api-python-client. This has been done in the 1.5.0 release: https://github.com/google/google-api-python-client/commit/da3e689

Since xenial has oauth2client 2.0.1, it should also have python-googleapi 1.5.0.

Revision history for this message
Richard Fearn (richardfearn) wrote :

To test:

$ python
Python 2.7.11+ (default, Apr 17 2016, 14:00:29)
[GCC 5.3.1 20160413] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from googleapiclient import discovery_cache
>>> discovery_cache.autodetect()
WARNING:root:No module named locked_file
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/googleapiclient/discovery_cache/__init__.py", line 38, in autodetect
    from . import file_cache
  File "/usr/lib/python2.7/dist-packages/googleapiclient/discovery_cache/file_cache.py", line 32, in <module>
    from oauth2client.locked_file import LockedFile
ImportError: No module named locked_file

Revision history for this message
Unit 193 (unit193) wrote :

See also LP: #1562358. IMO, this should be a candidate for SRU since the upstream release, while seemingly a major version bump, is a bugfix release.

v1.5.0
  Version 1.5.0

  Release to support oauth2client >= 2.0.0.

  - 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)

Revision history for this message
Richard Fearn (richardfearn) wrote :

Thanks @unit193 - my bug is essentially a duplicate of your #1562358. I didn't find that bug (and therefore ended up filing this one) since #1562358 is marked as "Fix Released".

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in python-googleapi (Ubuntu):
status: New → Confirmed
Revision history for this message
Micah Gersten (micahg) wrote :

There's a xenial task on the other bug which is how stable release updates are tracked. Thanks.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.