okpy / ok

ok.py supports programming projects by running tests, tracking progress, and assisting in debugging.
Apache License 2.0
333 stars 84 forks source link

oauthlib imcompatibility #1356

Open wlnirvana opened 5 years ago

wlnirvana commented 5 years ago

While setting up a local ok server, pip install -r requirements.txt prints the following error message in red

requests-oauthlib 1.2.0 has requirement oauthlib>=3.0.0, but you'll have oauthlib 2.0.2 which is incompatible.

It seems Flask-OAuthlib==0.9.4 requires requests-oauthlib, whose latest released version (by Apr 8 2019) requires oauthlib[signedtoken]>=3.0.0.

However, ok actually requires oauthlib==2.0.2. Thus the conflict.

Sumukh commented 5 years ago
# OAuth
oauthlib==2.1.0
Flask-OAuthlib==0.9.5

I think this config will work fine but I haven't tested it with OK