-
Notifications
You must be signed in to change notification settings - Fork 4
chore(deps): bump pyjwt from 1.7.1 to 2.4.0 #85
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
Conversation
worth noting that requirements.txt is only used to setup an env for unit testing - the SDK requirements are specified in setup.py |
Bumps [pyjwt](https://github.com/jpadilla/pyjwt) from 1.7.1 to 2.4.0. - [Release notes](https://github.com/jpadilla/pyjwt/releases) - [Changelog](https://github.com/jpadilla/pyjwt/blob/master/CHANGELOG.rst) - [Commits](jpadilla/pyjwt@1.7.1...2.4.0) --- updated-dependencies: - dependency-name: pyjwt dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
ca1091e
to
9fe957e
Compare
tests/test_auth.py
Outdated
@@ -407,7 +407,8 @@ def testApiAuth(self): | |||
StaxConfig.secret_key = "password" | |||
|
|||
token = jwt.encode({"sub": "valid_token"}, "secret", algorithm="HS256") | |||
jwt_token = jwt.decode(token, verify=False) | |||
jwt_token = jwt.decode(token, options={"verify_signature": False}, algorithms=["HS256"]) | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Extra line?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed, thanks!
Remove newline
9fe957e
to
ffcae65
Compare
Codecov Report
@@ Coverage Diff @@
## master #85 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 8 8
Lines 474 474
=========================================
Hits 474 474 |
Bumps pyjwt from 1.7.1 to 2.4.0.
Release notes
Sourced from pyjwt's releases.
... (truncated)
Changelog
Sourced from pyjwt's changelog.