Bug 509149 - Offlineimap spews deprecation warnings
Offlineimap spews deprecation warnings
Product: Fedora
Classification: Fedora
Component: offlineimap (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Christoph Höger
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2009-07-01 10:44 EDT by David Kovalsky
Modified: 2014-03-31 19:45 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2009-07-01 11:06:28 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description David Kovalsky 2009-07-01 10:44:37 EDT
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@complete.org>
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

Fedora 11, x86_64, fully updated
Comment 1 Christoph Höger 2009-07-01 11:06:28 EDT
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.



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