Discussion:
Bug#926297: duplicity: azure dependency broken?
(too old to reply)
Dean Hamstead
2019-04-03 03:40:02 UTC
Permalink
Package: duplicity
Version: 0.7.18.2-1
Severity: normal

Dear Maintainer,

I installed python-azure which brings python-azure-storge with it.

This doesnt seem sufficient though, running this sample command fails as
follows

$ duplicity full /source/dir azure://containername
BackendException: Azure backend requires Microsoft Azure Storage SDK for Python (https://pypi.python.org/pypi/azure-storage/).

Similarly, if i do a 'pip install azure' i get the same error.

FYI

$ dpkg -l | grep azure
ii python-azure 2.0.0~rc6+dfsg-2 all Microsoft Azure SDK for Python 2.x
ii python-azure-storage 0.33.0-1 all Microsoft Azure Storage Library for Python 2.x
ii python-msrestazure 0.4.7-1 all Runtime library for AutoRest generated Python 2.x clients




-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (99, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-1-cloud-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages duplicity depends on:
ii gnupg 2.2.12-1
ii libc6 2.28-2
ii librsync1 0.9.7-10+b1
ii python 2.7.15-3
ii python-fasteners 0.12.0-3
ii python-lockfile 1:0.12.2-2

Versions of packages duplicity recommends:
ii python-oauthlib 2.1.0-1
ii python-paramiko 2.4.2-0.1
ii python-pexpect 4.6.0-1
ii python-urllib3 1.24.1-1
ii rsync 3.1.3-1

Versions of packages duplicity suggests:
pn lftp <none>
pn ncftp <none>
pn python-boto <none>
pn python-cloudfiles <none>
pn python-gdata <none>
pn python-pip <none>
pn python-swiftclient <none>
pn tahoe-lafs <none>

-- no debconf information


Psst! It's possible that this email contains information that is on the super secret side of confidential. So if you received it accidentally, let the sender know straight away and delete it (and the email you sent them). Also, we should let you know that any emails that come and go through Winc&trade; might be scanned, stored or read by Winc&trade; at its discretion. If you've got a question, please give us a buzz on +61 2 9335 0555 (Australia) or +64 9 271 7600 (NZ). Oh, and Winc&trade; does its best to avoid errors on emails it sends, but we can't promise that it will be error free. So, please don't hold it against us.
Alexander Zangerl
2019-04-05 03:00:01 UTC
Permalink
tags 926297 + upstream
forwarded 926297 https://bugs.launchpad.net/duplicity/+bug/1694770
thanks
Post by Dean Hamstead
Similarly, if i do a 'pip install azure' i get the same error.
that's an api incompatibility problem known to upstream
(see the launchpad tracker link above). a comment on that bug report
indicates that forcing the installation of
an older azure api version with

pip install azure-storage==0.20.0

should provide a workaround for now (you may also have to ditch the
python-azure-storage debian package).

regards
az
--
Alexander Zangerl + GPG Key 2FCCF66BB963BD5F + http://snafu.priv.at/
AAAAAA - American Association Against Acronym Abuse Anonymous.
d***@fragfest.com.au
2019-04-11 01:20:02 UTC
Permalink
It seems that this works as you suggest:

pip install azure-storage==0.20.0

At least its a problem understood upstream. It has some chance of being
resolved
Post by Alexander Zangerl
tags 926297 + upstream
forwarded 926297 https://bugs.launchpad.net/duplicity/+bug/1694770
thanks
Post by Dean Hamstead
Similarly, if i do a 'pip install azure' i get the same error.
that's an api incompatibility problem known to upstream
(see the launchpad tracker link above). a comment on that bug report
indicates that forcing the installation of
an older azure api version with
pip install azure-storage==0.20.0
should provide a workaround for now (you may also have to ditch the
python-azure-storage debian package).
regards
az
--
Alexander Zangerl + GPG Key 2FCCF66BB963BD5F + http://snafu.priv.at/
AAAAAA - American Association Against Acronym Abuse Anonymous.
Psst! It's possible that this email contains information that is on the super secret side of confidential. So if you received it accidentally, let the sender know straight away and delete it (and the email you sent them). Also, we should let you know that any emails that come and go through Winc&trade; might be scanned, stored or read by Winc&trade; at its discretion. If you've got a question, please give us a buzz on +61 2 9335 0555 (Australia) or +64 9 271 7600 (NZ). Oh, and Winc&trade; does its best to avoid errors on emails it sends, but we can't promise that it will be error free. So, please don't hold it against us.
Loading...