Skip to content

Commit

Permalink
Merge pull request #455 from supertokens/fix/relax-pyjwt-constraint
Browse files Browse the repository at this point in the history
Relax `pyJWT` dependency constraint to `2.5.0`
  • Loading branch information
rishabhpoddar authored Oct 23, 2023
2 parents fa0a5d5 + beaabaf commit 2c0bb4c
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -8,6 +8,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [unreleased]

## [0.16.5] - 2023-10-23

- Relaxed constraint on `pyJWT` dependency.
- This is done because some users face `InvalidSignatureError` when decoding the id token with the latest `pyJWT` version.

## [0.16.4] - 2023-10-05

- Add `validate_access_token` function to providers
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -70,7 +70,7 @@

setup(
name="supertokens_python",
version="0.16.4",
version="0.16.5",
author="SuperTokens",
license="Apache 2.0",
author_email="team@supertokens.com",
@@ -101,7 +101,7 @@
install_requires=[
# [crypto] ensures that it installs the `cryptography` library as well
# based on constraints specified in https://github.com/jpadilla/pyjwt/blob/master/setup.cfg#L50
"PyJWT[crypto]>=2.6.0,<3.0.0",
"PyJWT[crypto]>=2.5.0,<3.0.0",
"httpx>=0.15.0,<0.25.0",
"pycryptodome==3.10.*",
"tldextract==3.1.0",
2 changes: 1 addition & 1 deletion supertokens_python/constants.py
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@
from __future__ import annotations

SUPPORTED_CDI_VERSIONS = ["3.0"]
VERSION = "0.16.4"
VERSION = "0.16.5"
TELEMETRY = "/telemetry"
USER_COUNT = "/users/count"
USER_DELETE = "/user/remove"

0 comments on commit 2c0bb4c

Please sign in to comment.