Skip to content

Commit f298efa

Browse files
Add DRF 3.14 Support (#623)
* Add DRF 3.14 Support (fixes #622) * Remove Django main branch from test matrix * Add DRF 3.14 support to tox --------- Co-authored-by: Youngkwang Yang <[email protected]>
1 parent c88f465 commit f298efa

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
matrix:
1818
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
1919
django-version: ['3.2', '4.0', '4.1']
20-
drf-version: ['3.10', '3.11', '3.12', '3.13']
20+
drf-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
2121

2222
steps:
2323
- uses: actions/checkout@v2

tox.ini

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[tox]
22
envlist=
3-
py{37,38,39,310}-dj32-drf{311,312,313}-pyjwt{171,2}-tests
3+
py{37,38,39,310}-dj{32}-drf{311,312,313}-pyjwt{171,2}-tests
44
py{38,39,310}-dj{40,41}-drf313-pyjwt{171,2}-tests
5-
py311-dj41-drf313-pyjwt{171,2}-tests
5+
py311-dj{41}-drf{313,314}-pyjwt{171,2}-tests
66
docs
77

88
[gh-actions]
@@ -18,12 +18,12 @@ DJANGO=
1818
3.2: dj32
1919
4.0: dj40
2020
4.1: dj41
21-
main: djmain
2221
DRF=
2322
3.10: drf310
2423
3.11: drf311
2524
3.12: drf312
2625
3.13: drf313
26+
3.14: drf314
2727

2828
[testenv]
2929
commands = pytest {posargs:tests} --cov-append --cov-report=xml --cov=rest_framework_simplejwt
@@ -40,6 +40,7 @@ deps=
4040
drf311: djangorestframework>=3.11,<3.12
4141
drf312: djangorestframework>=3.12,<3.13
4242
drf313: djangorestframework>=3.13,<3.14
43+
drf314: djangorestframework>=3.14,<3.15
4344
pyjwt171: pyjwt>=1.7.1,<1.8
4445
pyjwt2: pyjwt>=2,<3
4546
allowlist_externals=make

0 commit comments

Comments
 (0)