First time here? Check out the FAQ!

Revision history  [back]

Sanction package version

Hello,

I'm using askbot git version: github.com/ASKBOT/askbot-devel. I've noticed that in requirements (github.com/ASKBOT/askbot-devel/blob/master/askbot_requirements_dev.txt), 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

Thanks.