Repository: jazzband/djangorestframework-simplejwt (language: python)

Issue:
Test with DRF 3.14
Now that [DRF 3.14 is out](https://www.django-rest-framework.org/community/3.14-announcement/), the tests should be updated to include DRF 3.14 and to remove Django main from being tested with anything other than DRF 3.14 as a minimum version. Also, any tests with Django 4.1 should only have DRF 3.14 as a minimum version. DRF 3.14 also removes Django 2.2 support.


Discussion / hints:

Fix patch:
diff --git a/tox.ini b/tox.ini
index 83478cd38..e5a276a40 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,8 +1,8 @@
 [tox]
 envlist=
-    py{37,38,39,310}-dj32-drf{311,312,313}-pyjwt{171,2}-tests
+    py{37,38,39,310}-dj{32}-drf{311,312,313}-pyjwt{171,2}-tests
     py{38,39,310}-dj{40,41}-drf313-pyjwt{171,2}-tests
-    py311-dj41-drf313-pyjwt{171,2}-tests
+    py311-dj{41}-drf{313,314}-pyjwt{171,2}-tests
     docs
 
 [gh-actions]
@@ -18,12 +18,12 @@ DJANGO=
     3.2: dj32
     4.0: dj40
     4.1: dj41
-    main: djmain
 DRF=
     3.10: drf310
     3.11: drf311
     3.12: drf312
     3.13: drf313
+    3.14: drf314
 
 [testenv]
 commands = pytest {posargs:tests} --cov-append --cov-report=xml --cov=rest_framework_simplejwt
@@ -40,6 +40,7 @@ deps=
     drf311: djangorestframework>=3.11,<3.12
     drf312: djangorestframework>=3.12,<3.13
     drf313: djangorestframework>=3.13,<3.14
+    drf314: djangorestframework>=3.14,<3.15
     pyjwt171: pyjwt>=1.7.1,<1.8
     pyjwt2: pyjwt>=2,<3
 allowlist_externals=make


Test patch:
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index eaa9315e1..41676e16c 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -17,7 +17,7 @@ jobs:
       matrix:
         python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
         django-version: ['3.2', '4.0', '4.1']
-        drf-version: ['3.10', '3.11', '3.12', '3.13']
+        drf-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
 
     steps:
     - uses: actions/checkout@v2