First time here? Check out the FAQ!

Sanction package version


I'm using askbot git version: I've noticed that in requirements (, there is a package named: sanction. I've used pip install -r askbot_requirements_dev.txt) in a virtualenv. Sanction version's installed was 0.4.1 and askbot seems to work well with lower sanction version. Wich is the prefered sanction version, maybe 0.3 or 0.3.1?

FYI when sanction 0.4.1 is installed, the oauth not wotk well, it's because in sanction 0.4 are some breaking changes:

Breaking: removed redirect_uri from Client.__init__ (didn't make sense to be there. This has been added to auth_uri and request_token.

The error that is thown by Django is:

__init__() got an unexpected keyword argument 'redirect_uri'

Wich is the best solution? Install lower version of sanction (wich one?), or patch lines in askbot to adapt it to sanction => 0.4


RubenDjOn's avatar
asked 2014-04-16 10:27:50 -0500
edit flag offensive 0 remove flag close merge delete


I am also encountering this issue.

hollomancer's avatar hollomancer (2014-10-19 23:12:17 -0500) edit
add a comment see more comments

1 Answer


I went ahead and changed to sanction==0.3.1 and that seems to be doing the trick.

hollomancer's avatar
answered 2014-10-19 23:21:37 -0500
edit flag offensive 0 remove flag delete link


add a comment see more comments