[Bug 363877] Re: Deprecation Warnings when running under Python 2.6

2010-04-11 Thread Scott Moser
Based on the comments above, this bug should have been fixed in boto 1.7. We're at boto 1.8 in Karmic and 1.9 in Lucid. Given that, I'm closing as fix released. Please re-open if this is still a problem on 9.10 or 10.04. ** Changed in: python-boto (Ubuntu) Status: Triaged = Fix Released

[Bug 363877] Re: Deprecation Warnings when running under Python 2.6

2010-04-11 Thread Scott Moser
Based on the comments above, this bug should have been fixed in boto 1.7. We're at boto 1.8 in Karmic and 1.9 in Lucid. Given that, I'm closing as fix released. Please re-open if this is still a problem on 9.10 or 10.04. ** Changed in: python-boto (Ubuntu) Status: Triaged = Fix Released

[Bug 363877] Re: Deprecation Warnings when running under Python 2.6

2009-04-20 Thread Kenneth Loafman
Yes. I double checked in CVS. The following code was added to gpg.py in 0.5.06 and has not changed since: try: from hashlib import sha1 from hashlib import md5 except ImportError: from sha import new as sha1 from md5 import new as md5 So unless hashlib is missing from your

[Bug 363877] Re: Deprecation Warnings when running under Python 2.6

2009-04-20 Thread Kenneth Loafman
Sorry, the traceback is referring to boto, not duplicity. Different project. I think it may be fixed in newer versions of boto. -- Deprecation Warnings when running under Python 2.6 https://bugs.launchpad.net/bugs/363877 You received this bug notification because you are a member of Ubuntu

[Bug 363877] Re: Deprecation Warnings when running under Python 2.6

2009-04-20 Thread Daniel Hahler
I'm assigning the bug to (python-)boto. Prio Low since it's only a warning (although it's spammy - but can be worked around). ** Package changed: duplicity (Ubuntu) = python-boto (Ubuntu) ** Changed in: python-boto (Ubuntu) Importance: Undecided = Low ** Changed in: python-boto (Ubuntu)

[Bug 363877] Re: Deprecation Warnings when running under Python 2.6

2009-04-20 Thread Daniel Hahler
popen2 still gets used in 1.6b (latest package in Debian unstable) (from looking at the code only). But it appears to be fixed in the 1.7a release (http://code.google.com/p/boto/source/browse/tags/1.7a/boto/utils.py). -- Deprecation Warnings when running under Python 2.6

[Bug 363877] Re: Deprecation Warnings when running under Python 2.6

2009-04-20 Thread Daniel Hahler
JFI: As a workaround, this may filter out the warnings (add it to the top of e.g. utils.py): import warnings warnings.simplefilter(ignore, DeprecationWarning) -- Deprecation Warnings when running under Python 2.6 https://bugs.launchpad.net/bugs/363877 You received this bug notification

[Bug 363877] Re: Deprecation Warnings when running under Python 2.6

2009-04-20 Thread François Marier
Thanks Daniel. I have filed a new upstream release bug against the Debian package. I have also used your work-around in /usr/share/pyshared/duplicity/backends/botobackend.py and it works fine. (This could be an easy way to resolve the issue in the Jaunty duplicity package actually...) --

[Bug 363877] Re: Deprecation Warnings when running under Python 2.6

2009-04-19 Thread Kenneth Loafman
This was fixed in duplicity 0.5.06 and the current version is 0.5.15. Please go to http://duplicity.nongnu.org/ and install the newest version. -- Deprecation Warnings when running under Python 2.6 https://bugs.launchpad.net/bugs/363877 You received this bug notification because you are a member

[Bug 363877] Re: Deprecation Warnings when running under Python 2.6

2009-04-19 Thread François Marier
The version that's in Ubuntu Jaunty is 0.5.09 and is affected by this problem. Are you sure it got fixed in 0.5.06? -- Deprecation Warnings when running under Python 2.6 https://bugs.launchpad.net/bugs/363877 You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 363877] Re: Deprecation Warnings when running under Python 2.6

2009-04-19 Thread François Marier
According to http://sc.tamu.edu/help/general/unix/redirection.html it looks like the I should be using this syntax: duplicity ... 21| grep -v DeprecationWarning -- Deprecation Warnings when running under Python 2.6 https://bugs.launchpad.net/bugs/363877 You received this bug notification