-
-
Notifications
You must be signed in to change notification settings - Fork 688
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
Removal of kwargs in v2.2.0 is a breaking API change #698
Comments
Confirmed, same issue here, 2.1.0 is fine |
As I mentioned in #657 (comment), I think the change (removal of kwargs) should have been included in v2.0.0. Anyway, I'm sorry for bothering you. I've sent djangorestframework-simplejwt a PR to follow the latest(2.2.0) PyJWT. I'm glad if you can wait for a while until the PR is merged and a new version of simplejwt is released. |
what about just revert that nd wait for v3.0 |
I see that #703 is merged. Will there be a release anytime soon? /Cheers! |
Example: LibrePhotos/librephotos#373
TypeError: decode() got an unexpected keyword argument 'verify'
See also https://stackoverflow.com/questions/69485121/django-rest-framework-simple-jwt-decode-got-an-unexpected-keyword-argument-v
Expected Result
This error should not occur.
Actual Result
The
verify
keyword argument is now rejected.Reproduction Steps
In this case, installing LibrePhotos using Docker Compose. The problem API call is in Django's rest framework JWT, but the version constraints allowed it to pick up a minor revision which contained a breaking change.
System Information
PyJWT version is 2.2.0. Downgrading to 2.1.0 fixes the problem.
The text was updated successfully, but these errors were encountered: