thruflo / pyramid_simpleauth

Session based authentication and role based security for a Pyramid web application.
http://pypi.python.org/pypi/pyramid_simpleauth
The Unlicense
33 stars 13 forks source link

Attempt at Py3 compatibility #9

Open matthewblain opened 8 years ago

matthewblain commented 8 years ago

This includes several changes:

At least one dependency (pyramid_simpleform) is 5 years out of date on PyPi, so it doesn't support Py3. Though it appears fine in the current master on github.

pyramid_basemodel generate_random_digest also needs a small change for py3 support. so does pyramid_simpleauth\model.py . (Both should use bytes, not unicode.)

passlib has supported python3 for some time now, that does not appear to cause issues..

I'm going to stop here, but for the next person who attempts this they'll have less work to do.