New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #21223 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

Deprecation warnings from py26-crypto

Reported by: henrik@… Owned by: ram@…
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc:
Port: py26-crypto

Description

I get deprecation warnings when I run bzr compiled under Snow Leopard. I assume this is caused by either bzr or py26-crypto.

/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/Crypto/Hash/SHA.py:6: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
  from sha import *
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/Crypto/Hash/MD5.py:6: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  from md5 import *

Change History

comment:1 Changed 4 years ago by ram@…

  • Status changed from new to assigned
  • Owner changed from macports-tickets@… to ram@…
  • Port changed from bzr to py26-crypto
  • Summary changed from Deprecation warnings from Python in Bazaar to Deprecation warnings from py26-crypto

These are coming from py26-crypto. The port is already at the latest upstream version, I'll see if I can patch it accordingly.

comment:2 follow-up: ↓ 3 Changed 4 years ago by blb@…

Would this be bug 269429?

comment:3 in reply to: ↑ 2 Changed 4 years ago by ram@…

Replying to blb@…:

Would this be bug 269429?

Yes it would! Thanks, I'll use that patch

comment:4 Changed 4 years ago by ram@…

  • Status changed from assigned to closed
  • Resolution set to fixed

Upstream patch applied in r57313

comment:5 Changed 4 years ago by henrik@…

Works fabulously, thanks!

Note: See TracTickets for help on using tickets.