Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 339718 - dev-python/pyzor-0.5.0-r1 uses deprecated sha module
Summary: dev-python/pyzor-0.5.0-r1 uses deprecated sha module
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: Normal minor (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-04 15:31 UTC by Benny Pedersen
Modified: 2014-01-14 08:39 UTC (History)
2 users (show)

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


Attachments
Patch to fix deprecation warnings in pyzor (01-python26_warnings.patch,2.62 KB, patch)
2013-10-15 18:02 UTC, Hanno Böck
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Benny Pedersen 2010-10-04 15:31:30 UTC
it fails to work with that bug, so i report it here

Reproducible: Always

Steps to Reproduce:
1. emerge pyzor
2. pyzor ping
Comment 1 Johan Bergström 2010-10-07 08:36:12 UTC
Works for me with both 2.6 and 2.7, albeit some output each time its run. Bug reporter, please open ticket upstream about this and feel free to link back here.

# python -V ; pyzor ping
Python 2.5.4
public.pyzor.org:24441	(200, 'OK')

# python -V ; pyzor ping
Python 2.6.5
/usr/lib64/python2.6/site-packages/pyzor/__init__.py:11: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
  import sha
/usr/lib64/python2.6/site-packages/pyzor/client.py:12: DeprecationWarning: the multifile module has been deprecated since Python 2.5
  import multifile
/usr/lib64/python2.6/site-packages/pyzor/__init__.py:429: DeprecationWarning: object.__init__() takes no parameters
  super(ThreadId, self).__init__(i)
public.pyzor.org:24441	(200, 'OK')

# python -V ; pyzor ping
Python 2.7
public.pyzor.org:24441	(200, 'OK')
Comment 2 Benny Pedersen 2013-09-13 15:32:17 UTC
never fixed ?
Comment 3 Hanno Böck gentoo-dev 2013-10-15 18:02:05 UTC
Created attachment 360966 [details, diff]
Patch to fix deprecation warnings in pyzor

Patch from ubuntu/debian. If nobody objects I can commit it.
Comment 4 Benny Pedersen 2013-10-21 22:00:44 UTC
please do

thanks
Comment 5 Hanno Böck gentoo-dev 2014-01-14 08:39:43 UTC
Fixed in 0.5.0-r2, stabilization takes place in #498050