Skip to content

Commit 9a66629

Browse files
authored
Cap PyJWT version to <2.10.0 to avoid incompatibility with subject claim type requirement (#843)
1 parent cb00a8b commit 9a66629

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
install_requires=[
5959
"django>=4.2",
6060
"djangorestframework>=3.14",
61-
"pyjwt>=1.7.1,<3",
61+
"pyjwt>=1.7.1,<2.10.0",
6262
],
6363
python_requires=">=3.9",
6464
extras_require=extras_require,

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ deps=
3636
drf314: djangorestframework>=3.14,<3.15
3737
drf315: djangorestframework>=3.15,<3.16
3838
pyjwt171: pyjwt>=1.7.1,<1.8
39-
pyjwt2: pyjwt>=2,<3
39+
pyjwt2: pyjwt>=2,<2.10.0
4040
allowlist_externals=make
4141

4242
[testenv:docs]

0 commit comments

Comments
 (0)