diff --git a/setup.py b/setup.py index 4f4693d0e..a72e0b3b5 100755 --- a/setup.py +++ b/setup.py @@ -58,7 +58,7 @@ install_requires=[ "django>=4.2", "djangorestframework>=3.14", - "pyjwt>=1.7.1,<3", + "pyjwt>=1.7.1,<2.10.0", ], python_requires=">=3.9", extras_require=extras_require, diff --git a/tox.ini b/tox.ini index 109266c2f..bc63d3640 100644 --- a/tox.ini +++ b/tox.ini @@ -36,7 +36,7 @@ deps= drf314: djangorestframework>=3.14,<3.15 drf315: djangorestframework>=3.15,<3.16 pyjwt171: pyjwt>=1.7.1,<1.8 - pyjwt2: pyjwt>=2,<3 + pyjwt2: pyjwt>=2,<2.10.0 allowlist_externals=make [testenv:docs]