Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump oauthlib dependency #24

Merged
merged 1 commit into from
Dec 7, 2019
Merged

Conversation

consideRatio
Copy link
Member

@consideRatio consideRatio commented Dec 7, 2019

The dependency of oauthlib is too restrictive to work with JupyterHub
1.0.0 or at least the JupyterHub master.

ERROR: requests-oauthlib 1.2.0 has requirement oauthlib>=3.0.0, but you'll have oauthlib 2.1.0 which is incompatible.
ERROR: jupyterhub 1.0.1.dev0 has requirement oauthlib>=3.0, but you'll have oauthlib 2.1.0 which is incompatible.

oauthlib is used very limited in this package it seems, mainly regarding
a signature of some kind. The only import made from oauthlib is this
this:

from oauthlib.oauth1.rfc5849 import signature

The changelog:
https://github.com/oauthlib/oauthlib/blob/master/CHANGELOG.rst

But the changelog didn't capture all breaking changes, so i used git blame:
https://github.com/oauthlib/oauthlib/blame/master/oauthlib/oauth1/rfc5849/signature.py

Relevant commits:
oauthlib/oauthlib@42023d8
oauthlib/oauthlib@0ef0a9c
oauthlib/oauthlib@d55944a

I renamed some functions, and hope that the signature related changes
doesn't break something for someone, but if it does, that this commit
message should help them find the related upstream changes.

Related

Closes #23
Closes #21
Closes #19 (it seems likely to me at least, and suggest we reopen it if not)

The dependency of oauthlib is too restrictive to work with JupyterHub
1.0.0 or at least the JupyterHub master.

```
ERROR: requests-oauthlib 1.2.0 has requirement oauthlib>=3.0.0, but you'll have oauthlib 2.1.0 which is incompatible.
ERROR: jupyterhub 1.0.1.dev0 has requirement oauthlib>=3.0, but you'll have oauthlib 2.1.0 which is incompatible.
```

oauthlib is used very limited in this package it seems, mainly regarding
a signature of some kind. The only import made from oauthlib is this
this:

```
from oauthlib.oauth1.rfc5849 import signature
```

The changelog:
https://github.com/oauthlib/oauthlib/blob/master/CHANGELOG.rst

But the changelog didn't capture all breaking changes, so i used git blame:
https://github.com/oauthlib/oauthlib/blame/master/oauthlib/oauth1/rfc5849/signature.py

Relevant commits:
oauthlib/oauthlib@42023d8
oauthlib/oauthlib@0ef0a9c
oauthlib/oauthlib@d55944a

I renamed some functions, and hope that the signature related changes
doesn't break something for someone, but if it does, that this commit
message should help them find the related upstream changes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Installation fails due to conflicting oauthlib version Incompatibilities and hanging tljh-config reload
2 participants