Your message dated Sat, 16 Apr 2016 04:20:05 +0000
with message-id <[email protected]>
and subject line Bug#820725: fixed in duplicity 0.7.07-1
has caused the Debian Bug report #820725,
regarding duplicity: pydrive fails with latest python-oauth2client
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
820725: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=820725
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: duplicity
Version: 0.7.06-2
Severity: normal

Hi,

as the python-oauth2client package has been upgraded in Sid, Duplicity's
PyDrive backend needs to be adjusted to the new oauth2client API.

The following patch and an upgrade of python-googleapi to 1.5.0 is
sufficient to make the PyDrive backend work again.

--- pydrivebackend.py.old       2016-04-11 20:07:11.133934930 +0200
+++ pydrivebackend.py   2016-04-11 19:56:57.844088280 +0200
@@ -33,7 +33,8 @@
             global pydrive
             import httplib2
             from apiclient.discovery import build
-            from oauth2client.client import SignedJwtAssertionCredentials
+            from oauth2client.service_account import ServiceAccountCredentials
+            from oauth2client import crypt
             from pydrive.auth import GoogleAuth
             from pydrive.drive import GoogleDrive
             from pydrive.files import FileNotUploadedError
@@ -43,7 +44,8 @@
 
         if 'GOOGLE_DRIVE_ACCOUNT_KEY' in os.environ:
             account_key = os.environ['GOOGLE_DRIVE_ACCOUNT_KEY']
-            credentials = SignedJwtAssertionCredentials(parsed_url.username + 
'@' + parsed_url.hostname, account_key, 
scopes='https://www.googleapis.com/auth/drive')
+            signer = crypt.Signer.from_string(account_key)
+            credentials = ServiceAccountCredentials(parsed_url.username + '@' 
+ parsed_url.hostname, signer, scopes='https://www.googleapis.com/auth/drive')
             credentials.authorize(httplib2.Http())
             gauth = GoogleAuth()
             gauth.credentials = credentials


Regards, Jindrich

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.5.0 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages duplicity depends on:
ii  libc6            2.22-6
ii  librsync1        0.9.7-10
ii  python           2.7.11-1
ii  python-lockfile  1:0.12.2-1

Versions of packages duplicity recommends:
ii  python-oauthlib  1.0.3-1
pn  python-paramiko  <none>
ii  python-urllib3   1.13.1-2
ii  rsync            3.1.1-3

Versions of packages duplicity suggests:
ii  lftp                4.7.1-1
pn  ncftp               <none>
pn  python-boto         <none>
pn  python-cloudfiles   <none>
ii  python-gdata        2.0.18+dfsg1-2
pn  python-swiftclient  <none>
pn  tahoe-lafs          <none>

-- no debconf information

-- debsums errors found:
debsums: changed file 
/usr/lib/python2.7/dist-packages/duplicity/backends/pydrivebackend.py (from 
duplicity package)

--- End Message ---
--- Begin Message ---
Source: duplicity
Source-Version: 0.7.07-1

We believe that the bug you reported is fixed in the latest version of
duplicity, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alexander Zangerl <[email protected]> (supplier of updated duplicity package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 16 Apr 2016 10:11:11 +1000
Source: duplicity
Binary: duplicity
Architecture: source amd64
Version: 0.7.07-1
Distribution: unstable
Urgency: medium
Maintainer: Alexander Zangerl <[email protected]>
Changed-By: Alexander Zangerl <[email protected]>
Description:
 duplicity  - encrypted bandwidth-efficient backup
Closes: 820725
Changes:
 duplicity (0.7.07-1) unstable; urgency=medium
 .
   * New upstream release
   * applied patch for python-oauth2 2.x's incompatible api (closes: #820725)
Checksums-Sha1:
 1ba8caf6e609b126c80973a3fb919521dbc85cf3 1743 duplicity_0.7.07-1.dsc
 9a1d35add7a4a35464bed3bfda23df14c1774058 1538252 duplicity_0.7.07.orig.tar.gz
 c3afb54200e544303684bbc2fa5edbbca22c500a 14388 duplicity_0.7.07-1.debian.tar.xz
 b8a5f5771694483084e17d315a36c6d045e36cb2 10472 
duplicity-dbgsym_0.7.07-1_amd64.deb
 6865a491711c74d7bac7edbf33cf0428ae9932c1 324916 duplicity_0.7.07-1_amd64.deb
Checksums-Sha256:
 59b98744fedfdcc1b988a97d0585c620af0d8f979524e0cef3d7b9098954357b 1743 
duplicity_0.7.07-1.dsc
 1acb522d5ae6b54d107270d06f006a43ae1ca29fb0537e32153bd6376dcb5a5c 1538252 
duplicity_0.7.07.orig.tar.gz
 1be60c49d7a585847470cc102ac9ab354dbe696477e949186aaf7b9a65db76d0 14388 
duplicity_0.7.07-1.debian.tar.xz
 ee0db1042cdd15a1ffcb8ce4bec0559c4bd421f648abda01a21bd0638a874ffc 10472 
duplicity-dbgsym_0.7.07-1_amd64.deb
 bf2fab582922af366a564e8ab86131025c98299d1dd91b9bac3ba42d0fef5bfb 324916 
duplicity_0.7.07-1_amd64.deb
Files:
 ef59f8a56d39b797d1044ddb92af2802 1743 utils optional duplicity_0.7.07-1.dsc
 a17bf31e02cc0af5ed2dbcd7bc908972 1538252 utils optional 
duplicity_0.7.07.orig.tar.gz
 8adeec97feccac05607e016abf1d5aa1 14388 utils optional 
duplicity_0.7.07-1.debian.tar.xz
 259017160f0e3c01748092226881aac8 10472 debug extra 
duplicity-dbgsym_0.7.07-1_amd64.deb
 d7beafcfeb38dde9cac5d7054a365832 324916 utils optional 
duplicity_0.7.07-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCgAGBQJXEZLqAAoJED06g4g30PqNMfwP/0Wf5GwWTLUw9Hnd0ER8ibfO
Q0AoIMVD1OKZO+eT6aY4n3Mnu241HjQUAdxxwzgk51cngsOQ4GWT723zWQI4U7O3
s2+Yaoi4WVSOmO3WRvnUWUXIshswK42Y7XTG7Y1a234iFr9ewAdCICah1fz7D1H+
eGJan1ZCL3PJpGgw83/YeMcxZJkSIMQRepbXqeH13Q/hDIfsMUpS5K8Q6ukTvrmQ
gPNo7u4MHs8CQewMSZxcB8j8XALkx0EpHEvgzQuVMfWXh4ER2xcfTimpkmXg335c
ab9EJn2dUc7BPKfxPz3qemSfl4e6MX80sRFvodtUUwZuFjErC2z4FqpRNCiRjaN7
IpFUfMQIQ48vJ8gG9vnFxYdJCGbt4vbD7WfUzyeHf9O/7bfew9HXh3dXhju9C0F+
jZoneEVxdrUCGalE/IVSs4sGmAn04ZM/vgcAs+saT6uFNEm9WD39fjyyR2EATRxt
lue+cDsn2GU5LOuuZx8UrYVRyDitzjxdWOvza+0uTc5jsFvpFC1DLShfrExtK4xE
LTSAz21YVVeMPZyrBV8izNx3T5ctLD4kDcMuviLPuZ3UOQKh+c9RUeV1lKtA4UgS
kwfI1WD5FG9T6tRi96AfjCZLfsSttLQjoNbcCYt1T33jD4SbVN1zp0CGbo21aaXH
QT1NDYRTSIwidyrfuYV6
=CnHi
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to