Description of problem: There is annoying message written every time when I start offlineimap: /usr/lib/python2.6/site-packages/offlineimap/imaplibutil.py:172: DeprecationWarning: socket.ssl() is deprecated. Use ssl.wrap_socket() instead. Version-Release number of selected component (if applicable): $ rpm -q offlineimap offlineimap-6.0.3-3.fc11.noarch How reproducible: always Steps to Reproduce: 1. configure offlineimap to use ssl: [Repository remote-gmail] type = IMAP remotehost = imap.gmail.com remoteuser = my_name ssl = yes remoteport = 993 remotepass = XXX 2. run offlineimap Actual results: annoying msg is written Expected results: no deprecation warnings Additional info: http://software.complete.org/software/issues/show/110
Created attachment 344018 [details] fix deprecation warning This should fix.
Hi, thank you for reminding me on that. I've just sended a patch to upstream on that issue. I'll attach so you can test that out. Also there is a md5 deprecation I need to fix. I'll wait to see what upstream does with a new release. does it work for you?
No, that patch doesn't work, warning is still printed. If I understand correctly DeprecationWarning says you should not use socket.ssl function.
Oh man, sorry that patch was meant the other way around. Could you please try patch -R?
Yes, reverse patch solves this issue.
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle. Changing version to '11'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
A patch has been sent upstream. Closing for now.