Bug 509149

Summary: Offlineimap spews deprecation warnings
Product: [Fedora] Fedora Reporter: David Kovalsky <dkovalsk>
Component: offlineimapAssignee: Christoph Höger <choeger>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 11CC: benl, choeger, kwade
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-07-01 15:06:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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