From 7150c67c12a61746c5d0973003936d704776c4a8 Mon Sep 17 00:00:00 2001 From: grayver Date: Sun, 5 Jan 2025 17:16:29 +0000 Subject: [PATCH] Cap PyJWT version to <2.10.0 to avoid incompatibility with subject claim type requirement --- setup.py | 2 +- tox.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 995e63533..b769fc444 100755 --- a/setup.py +++ b/setup.py @@ -58,7 +58,7 @@ install_requires=[ "django>=3.2", "djangorestframework>=3.12", - "pyjwt>=1.7.1,<3", + "pyjwt>=1.7.1,<2.10.0", ], python_requires=">=3.8", extras_require=extras_require, diff --git a/tox.ini b/tox.ini index c95258209..39b7b25cd 100644 --- a/tox.ini +++ b/tox.ini @@ -43,7 +43,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]