Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 281997 - dev-python/xmpppy-0.5.0_rc1: Deprecation warnings with Python 2.6
Summary: dev-python/xmpppy-0.5.0_rc1: Deprecation warnings with Python 2.6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High minor (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: python-2.6
  Show dependency tree
 
Reported: 2009-08-19 08:48 UTC by Nico Baggus
Modified: 2010-01-28 04:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nico Baggus 2009-08-19 08:48:29 UTC
xmpppy issues deprecation warnings when python 2.6 gets installed.

/usr/lib64/python2.6/site-packages/xmpp/auth.py:24: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
  import sha,base64,random,dispatcher,re
/usr/lib64/python2.6/site-packages/xmpp/auth.py:26: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import md5
/usr/lib64/python2.6/site-packages/xmpp/transports.py:315: DeprecationWarning: socket.ssl() is deprecated.  Use ssl.wrap_socket() instead.
  tcpsock._sslObj    = socket.ssl(tcpsock._sock, None, None)


Reproducible: Always

Steps to Reproduce:
1.do some ebuild, xmpppy is used with mod_jabber on my system to signal build events to a jabber server.
2.
3.

Actual Results:  
It still works, but the message should some food for though about the future

Expected Results:  
no deprecated messages

used together with:
app-portage/portage-mod_jabber-0.0.5.1
Comment 1 Jesus Rivero (RETIRED) gentoo-dev 2010-01-28 04:00:34 UTC
Hello,

   Fixed in CVS. Added patches for the deprecations warnings for 2.6. 

   Nico, thanks for the report.

   Best regards,