First time here? Check out the FAQ!
0

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.

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

Comments

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

0

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

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

Comments

add a comment see more comments