Bug 509149 - Offlineimap spews deprecation warnings
Summary: Offlineimap spews deprecation warnings
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: offlineimap
Version: 11
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Christoph Höger
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-07-01 14:44 UTC by David Kovalsky
Modified: 2014-03-31 23:45 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-07-01 15:06:28 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description David Kovalsky 2009-07-01 14:44:37 UTC
Offlineimap spews Python deprecation warnings:

[dkovalsk@f11dave ~]$ offlineimap
/usr/lib/python2.6/site-packages/offlineimap/folder/Maildir.py:23: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import os.path, os, re, time, socket, md5
OfflineIMAP 6.0.3
Copyright (C) 2002 - 2008 John Goerzen <jgoerzen>
This software comes with ABSOLUTELY NO WARRANTY; see the file
COPYING for details.  This is free software, and you are welcome
to distribute it under the conditions laid out in COPYING.
Account sync RedHatImap:
   ***** Processing account RedHatImap
Account sync RedHatImap:
   Copying folder structure from IMAP to MappedIMAP
Account sync RedHatImap:
   Establishing connection to mail06.corp.redhat.com:7993.
/usr/lib/python2.6/site-packages/offlineimap/imaplibutil.py:172: DeprecationWarning: socket.ssl() is deprecated.  Use ssl.wrap_socket() instead.
  self.sslobj = socket.ssl(self.sock._sock, self.keyfile, self.certfile)
RedHatImapRemote: Enter password:


Syncing IMAP <--> IMAP


[dkovalsk@f11dave ~]$ rpm -q offlineimap
offlineimap-6.0.3-3.fc11.noarch

Fedora 11, x86_64, fully updated

Comment 1 Christoph Höger 2009-07-01 15:06:28 UTC
Thank you for your report,

That is well know. I closed the last issue on that some days ago. 
Upstream is working on 6.0.4 which fixes at least the hashlib thing. The ssl thing has moved to imaplib2 so I have to ask another upstream maintainer on that.

regards

christoph


Note You need to log in before you can comment on or make changes to this bug.