DeprecationWarning in twisted/internet/_sslverify.py

Bug #344782 reported by Guillaume Desmottes
4
Affects Status Importance Assigned to Milestone
Twisted
Fix Released
Unknown
twisted (Ubuntu)
Fix Released
Undecided
Unassigned
twisted-conch (Ubuntu)
Fix Released
Undecided
Unassigned
twisted-mail (Ubuntu)
Fix Released
Undecided
Unassigned
twisted-news (Ubuntu)
Fix Released
Undecided
Unassigned
twisted-web (Ubuntu)
Fix Released
Undecided
Unassigned
twisted-web2 (Ubuntu)
Fix Released
Undecided
Unassigned
twisted-words (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

On Jaunty (python 2.6) I got this annoying warning each time I import twisted:

/usr/lib/python2.6/dist-packages/twisted/internet/_sslverify.py:5: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import itertools, md5

Changed in twisted:
status: Unknown → Fix Released
Revision history for this message
Daniel Holbach (dholbach) wrote :
Changed in twisted (Ubuntu):
status: New → Confirmed
Revision history for this message
Matthias Klose (doko) wrote :

twisted-words_8.2.0-2.dsc
twisted-web2_8.1.0-2.dsc
twisted-web_8.2.0-2.dsc
twisted-news_8.2.0-2.dsc
twisted-mail_8.2.0-2.dsc
twisted-conch_8.2.0-2.dsc

please sync from debian unstable, proposing for jaunty-updates

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

This bug was fixed in the package twisted - 8.2.0-2

---------------
twisted (8.2.0-2) unstable; urgency=low

  * python-twisted-core: Regenerate the plugin cache as the last action
    in the postinst. Closes: #521663. LP: #361865.
  * Avoid md5/sha1 deprecation warnings. LP: #344782.

 -- Glyph Lefkowitz <email address hidden> Mon, 20 Apr 2009 08:00:30 +0100

Changed in twisted (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Matthias Klose (doko) wrote :

the new versions avoid deprecation warnings for python2.6. the ubuntu changes are integrated in the debian packages and can be discarded.

Revision history for this message
Martin Pitt (pitti) wrote :

Diffs look okay, and some packages even fix installation with Python 2.6:

- python$* setup.py install --prefix=debian/python-twisted-mail/usr
+ python$* setup.py install --root=debian/python-twisted-mail --install-layout=deb

which make them much more important.

Revision history for this message
Martin Pitt (pitti) wrote :

[Updating] twisted-conch (1:8.2.0-0ubuntu1 [Ubuntu] < 1:8.2.0-2 [Debian])
 * Trying to add twisted-conch...
  - <twisted-conch_8.2.0.orig.tar.gz: already in distro - downloading from librarian>
  - <twisted-conch_8.2.0-2.dsc: downloading from http://ftp.debian.org/debian/>
  - <twisted-conch_8.2.0-2.diff.gz: downloading from http://ftp.debian.org/debian/>
I: twisted-conch [main] -> python-twisted-conch_1:8.2.0-0ubuntu1 [main].

Changed in twisted-conch (Ubuntu):
status: New → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

[Updating] twisted-mail (8.2.0-0ubuntu1 [Ubuntu] < 8.2.0-2 [Debian])
 * Trying to add twisted-mail...
  - <twisted-mail_8.2.0.orig.tar.gz: already in distro - downloading from librarian>
  - <twisted-mail_8.2.0-2.diff.gz: downloading from http://ftp.debian.org/debian/>
  - <twisted-mail_8.2.0-2.dsc: downloading from http://ftp.debian.org/debian/>
I: twisted-mail [main] -> python-twisted-mail_8.2.0-0ubuntu1 [main].

Changed in twisted-mail (Ubuntu):
status: New → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

[Updating] twisted-conch (1:8.2.0-0ubuntu1 [Ubuntu] < 1:8.2.0-2 [Debian])
 * Trying to add twisted-conch...
  - <twisted-conch_8.2.0.orig.tar.gz: already in distro - downloading from librarian>
  - <twisted-conch_8.2.0-2.dsc: downloading from http://ftp.debian.org/debian/>
  - <twisted-conch_8.2.0-2.diff.gz: downloading from http://ftp.debian.org/debian/>
I: twisted-conch [main] -> python-twisted-conch_1:8.2.0-0ubuntu1 [main].

Revision history for this message
Martin Pitt (pitti) wrote :

[Updating] twisted-mail (8.2.0-0ubuntu1 [Ubuntu] < 8.2.0-2 [Debian])
 * Trying to add twisted-mail...
  - <twisted-mail_8.2.0.orig.tar.gz: already in distro - downloading from librarian>
  - <twisted-mail_8.2.0-2.diff.gz: downloading from http://ftp.debian.org/debian/>
  - <twisted-mail_8.2.0-2.dsc: downloading from http://ftp.debian.org/debian/>
I: twisted-mail [main] -> python-twisted-mail_8.2.0-0ubuntu1 [main].

Revision history for this message
Martin Pitt (pitti) wrote :

[Updating] twisted-news (8.2.0-0ubuntu1 [Ubuntu] < 8.2.0-2 [Debian])
 * Trying to add twisted-news...
  - <twisted-news_8.2.0.orig.tar.gz: already in distro - downloading from librarian>
  - <twisted-news_8.2.0-2.dsc: downloading from http://ftp.debian.org/debian/>
  - <twisted-news_8.2.0-2.diff.gz: downloading from http://ftp.debian.org/debian/>
I: twisted-news [main] -> python-twisted-news_8.2.0-0ubuntu1 [main].

Changed in twisted-news (Ubuntu):
status: New → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

[Updating] twisted-conch (1:8.2.0-0ubuntu1 [Ubuntu] < 1:8.2.0-2 [Debian])
 * Trying to add twisted-conch...
  - <twisted-conch_8.2.0.orig.tar.gz: already in distro - downloading from librarian>
  - <twisted-conch_8.2.0-2.dsc: downloading from http://ftp.debian.org/debian/>
  - <twisted-conch_8.2.0-2.diff.gz: downloading from http://ftp.debian.org/debian/>
I: twisted-conch [main] -> python-twisted-conch_1:8.2.0-0ubuntu1 [main].

Revision history for this message
Martin Pitt (pitti) wrote :

[Updating] twisted-mail (8.2.0-0ubuntu1 [Ubuntu] < 8.2.0-2 [Debian])
 * Trying to add twisted-mail...
  - <twisted-mail_8.2.0.orig.tar.gz: already in distro - downloading from librarian>
  - <twisted-mail_8.2.0-2.diff.gz: downloading from http://ftp.debian.org/debian/>
  - <twisted-mail_8.2.0-2.dsc: downloading from http://ftp.debian.org/debian/>
I: twisted-mail [main] -> python-twisted-mail_8.2.0-0ubuntu1 [main].

Revision history for this message
Martin Pitt (pitti) wrote :

[Updating] twisted-news (8.2.0-0ubuntu1 [Ubuntu] < 8.2.0-2 [Debian])
 * Trying to add twisted-news...
  - <twisted-news_8.2.0.orig.tar.gz: already in distro - downloading from librarian>
  - <twisted-news_8.2.0-2.dsc: downloading from http://ftp.debian.org/debian/>
  - <twisted-news_8.2.0-2.diff.gz: downloading from http://ftp.debian.org/debian/>
I: twisted-news [main] -> python-twisted-news_8.2.0-0ubuntu1 [main].

Revision history for this message
Martin Pitt (pitti) wrote :

[Updating] twisted-web2 (8.1.0-1 [Ubuntu] < 8.1.0-2 [Debian])
 * Trying to add twisted-web2...
  - <twisted-web2_8.1.0-2.dsc: downloading from http://ftp.debian.org/debian/>
  - <twisted-web2_8.1.0.orig.tar.gz: already in distro - downloading from librarian>
  - <twisted-web2_8.1.0-2.diff.gz: downloading from http://ftp.debian.org/debian/>
I: twisted-web2 [main] -> python-twisted-web2_8.1.0-1 [main].

Changed in twisted-web2 (Ubuntu):
status: New → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

[Updating] twisted-conch (1:8.2.0-0ubuntu1 [Ubuntu] < 1:8.2.0-2 [Debian])
 * Trying to add twisted-conch...
  - <twisted-conch_8.2.0.orig.tar.gz: already in distro - downloading from librarian>
  - <twisted-conch_8.2.0-2.dsc: downloading from http://ftp.debian.org/debian/>
  - <twisted-conch_8.2.0-2.diff.gz: downloading from http://ftp.debian.org/debian/>
I: twisted-conch [main] -> python-twisted-conch_1:8.2.0-0ubuntu1 [main].

Revision history for this message
Martin Pitt (pitti) wrote :

[Updating] twisted-mail (8.2.0-0ubuntu1 [Ubuntu] < 8.2.0-2 [Debian])
 * Trying to add twisted-mail...
  - <twisted-mail_8.2.0.orig.tar.gz: already in distro - downloading from librarian>
  - <twisted-mail_8.2.0-2.diff.gz: downloading from http://ftp.debian.org/debian/>
  - <twisted-mail_8.2.0-2.dsc: downloading from http://ftp.debian.org/debian/>
I: twisted-mail [main] -> python-twisted-mail_8.2.0-0ubuntu1 [main].

Revision history for this message
Martin Pitt (pitti) wrote :

[Updating] twisted-news (8.2.0-0ubuntu1 [Ubuntu] < 8.2.0-2 [Debian])
 * Trying to add twisted-news...
  - <twisted-news_8.2.0.orig.tar.gz: already in distro - downloading from librarian>
  - <twisted-news_8.2.0-2.dsc: downloading from http://ftp.debian.org/debian/>
  - <twisted-news_8.2.0-2.diff.gz: downloading from http://ftp.debian.org/debian/>
I: twisted-news [main] -> python-twisted-news_8.2.0-0ubuntu1 [main].

Revision history for this message
Martin Pitt (pitti) wrote :

[Updating] twisted-web2 (8.1.0-1 [Ubuntu] < 8.1.0-2 [Debian])
 * Trying to add twisted-web2...
  - <twisted-web2_8.1.0-2.dsc: downloading from http://ftp.debian.org/debian/>
  - <twisted-web2_8.1.0.orig.tar.gz: already in distro - downloading from librarian>
  - <twisted-web2_8.1.0-2.diff.gz: downloading from http://ftp.debian.org/debian/>
I: twisted-web2 [main] -> python-twisted-web2_8.1.0-1 [main].

Revision history for this message
Martin Pitt (pitti) wrote :

[Updating] twisted-web (8.2.0-0ubuntu1 [Ubuntu] < 8.2.0-2 [Debian])
 * Trying to add twisted-web...
  - <twisted-web_8.2.0-2.diff.gz: downloading from http://ftp.debian.org/debian/>
  - <twisted-web_8.2.0-2.dsc: downloading from http://ftp.debian.org/debian/>
  - <twisted-web_8.2.0.orig.tar.gz: already in distro - downloading from librarian>
I: twisted-web [main] -> python-twisted-web_8.2.0-0ubuntu1 [main].

Changed in twisted-web (Ubuntu):
status: New → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

twisted-words synced

Changed in twisted-words (Ubuntu):
status: New → Fix Released
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.