Edgewall Software
Modify

Opened 7 years ago

Closed 7 years ago

#12861 closed defect (fixed)

DeprecationWarning: passing settings to des_crypt.hash() is deprecated, and won't be supported in Passlib 2.0

Reported by: Ryan J Ollos Owned by: Ryan J Ollos
Priority: normal Milestone: 1.2.3
Component: general Version:
Severity: normal Keywords: passlib windows
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Ryan J Ollos)

Spotted the following in the AppVeyor logs, tests run with Passlib 1.7.1:

C:\Python26-x64\lib\site-packages\passlib\utils\handlers.py:103: DeprecationWarning: passing settings to des_crypt.hash() is deprecated, and won't be supported in Passlib 2.0; use 'des_crypt.using(**settings).hash(secret)' 
instead
  DeprecationWarning, stacklevel=guess_app_stacklevel(2))

Strangely the warning is only seen when running the tests with Python 2.6.

See also #12669.

Attachments (0)

Change History (1)

comment:1 by Ryan J Ollos, 7 years ago

Description: modified (diff)
Resolution: fixed
Status: assignedclosed

Fixed on 1.2-stable in r16109, merged to trunk in r16110.

The using method is documented here.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Ryan J Ollos to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.