Skip to content

Commit 2c0bb4c

Browse files
Merge pull request #455 from supertokens/fix/relax-pyjwt-constraint
Relax `pyJWT` dependency constraint to `2.5.0`
2 parents fa0a5d5 + beaabaf commit 2c0bb4c

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88

99
## [unreleased]
1010

11+
## [0.16.5] - 2023-10-23
12+
13+
- Relaxed constraint on `pyJWT` dependency.
14+
- This is done because some users face `InvalidSignatureError` when decoding the id token with the latest `pyJWT` version.
15+
1116
## [0.16.4] - 2023-10-05
1217

1318
- Add `validate_access_token` function to providers

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070

7171
setup(
7272
name="supertokens_python",
73-
version="0.16.4",
73+
version="0.16.5",
7474
author="SuperTokens",
7575
license="Apache 2.0",
7676
author_email="[email protected]",
@@ -101,7 +101,7 @@
101101
install_requires=[
102102
# [crypto] ensures that it installs the `cryptography` library as well
103103
# based on constraints specified in https://github.com/jpadilla/pyjwt/blob/master/setup.cfg#L50
104-
"PyJWT[crypto]>=2.6.0,<3.0.0",
104+
"PyJWT[crypto]>=2.5.0,<3.0.0",
105105
"httpx>=0.15.0,<0.25.0",
106106
"pycryptodome==3.10.*",
107107
"tldextract==3.1.0",

supertokens_python/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
from __future__ import annotations
1515

1616
SUPPORTED_CDI_VERSIONS = ["3.0"]
17-
VERSION = "0.16.4"
17+
VERSION = "0.16.5"
1818
TELEMETRY = "/telemetry"
1919
USER_COUNT = "/users/count"
2020
USER_DELETE = "/user/remove"

0 commit comments

Comments
 (0)