Skip to content

Commit

Permalink
Add DRF 3.14 Support (#623)
Browse files Browse the repository at this point in the history
* 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 <immutable000@gmail.com>
  • Loading branch information
Andrew-Chen-Wang and 2ykwang committed Apr 9, 2023
1 parent c88f465 commit f298efa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 4 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -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]
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit f298efa

Please sign in to comment.