Skip to content

Commit

Permalink
Document support for Python 3.12/Django 5.0/DRF 3.15 (#795)
Browse files Browse the repository at this point in the history
  • Loading branch information
dduong42 authored May 1, 2024
1 parent c791e98 commit 509f2b1
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
6 changes: 3 additions & 3 deletions docs/getting_started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ Getting started
Requirements
------------

* Python (3.8, 3.9, 3.10, 3.11)
* Django (3.2, 4.1, 4.2)
* Django REST Framework (3.12, 3.13, 3.14)
* Python (3.8, 3.9, 3.10, 3.11, 3.12)
* Django (3.2, 4.1, 4.2, 5.0)
* Django REST Framework (3.12, 3.13, 3.14, 3.15)

These are the officially supported python and package versions. Other versions
will probably work. You're free to modify the tox config and see what is
Expand Down
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.1",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
Expand All @@ -81,6 +82,7 @@
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Internet :: WWW/HTTP",
],
)
12 changes: 9 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
[tox]
envlist=
py{38,39,310}-dj{32}-drf{312,313}-pyjwt{171,2}-tests
py{38,39,310}-dj{41,42}-drf313-pyjwt{171,2}-tests
py311-dj{41,42}-drf{313,314}-pyjwt{171,2}-tests
py{38,39,310}-dj32-drf{312,313,314,315}-pyjwt{171,2}-tests
py{38,39,310,311}-dj41-drf{314,315}-pyjwt{171,2}-tests
py{38,39,310,311,312}-dj42-drf{314,315}-pyjwt{171,2}-tests
py{310, 311, 312}-dj50-drf315-pyjwt{171,2}-tests
docs

[gh-actions]
Expand All @@ -11,16 +12,19 @@ python=
3.9: py39
3.10: py310
3.11: py311
3.12: py312

[gh-actions:env]
DJANGO=
3.2: dj32
4.1: dj41
4.2: dj42
5.0: dj50
DRF=
3.12: drf312
3.13: drf313
3.14: drf314
3.15: drf315

[testenv]
commands = pytest {posargs:tests} --cov-append --cov-report=xml --cov=rest_framework_simplejwt
Expand All @@ -33,9 +37,11 @@ deps=
dj32: Django>=3.2,<3.3
dj41: Django>=4.1,<4.2
dj42: Django>=4.2,<4.3
dj50: Django>=5.0,<5.1
drf312: djangorestframework>=3.12,<3.13
drf313: djangorestframework>=3.13,<3.14
drf314: djangorestframework>=3.14,<3.15
drf315: djangorestframework>=3.15,<3.16
pyjwt171: pyjwt>=1.7.1,<1.8
pyjwt2: pyjwt>=2,<3
allowlist_externals=make
Expand Down

0 comments on commit 509f2b1

Please sign in to comment.