diff --git a/requirements/optionals.txt b/requirements/optionals.txt index a8ef61a7..e6cbc321 100644 --- a/requirements/optionals.txt +++ b/requirements/optionals.txt @@ -2,6 +2,7 @@ django-allauth<0.55.0 # breaking change breaking dj-rest-auth drf-jwt>=0.13.0 dj-rest-auth>=1.0.0 djangorestframework-simplejwt>=4.4.0 +setuptools django-polymorphic>=2.1 django-rest-polymorphic>=0.1.8 django-oauth-toolkit>=1.2.0 diff --git a/setup.py b/setup.py index d910b5ff..488db677 100644 --- a/setup.py +++ b/setup.py @@ -97,6 +97,7 @@ def get_version(package): 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', + 'Programming Language :: Python :: 3.12', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Documentation', 'Topic :: Software Development :: Code Generators', diff --git a/tests/contrib/test_simplejwt.py b/tests/contrib/test_simplejwt.py index 1c3ea864..bb7b8ad2 100644 --- a/tests/contrib/test_simplejwt.py +++ b/tests/contrib/test_simplejwt.py @@ -15,6 +15,7 @@ ) except ImportError: JWTAuthentication = None + JWTTokenUserAuthentication = None class XSerializer(serializers.Serializer): diff --git a/tox.ini b/tox.ini index 68f8abf4..358fb193 100644 --- a/tox.ini +++ b/tox.ini @@ -5,6 +5,7 @@ envlist = {py37,py38,py39}-django{3.2}-drf{3.11,3.12}, {py38,py39,py310}-django{4.0,4.1}-drf{3.13,3.14}, {py311}-django{4.1, 4.2}-drf{3.14}, + {py312}-django{4.2}-drf{3.14}, py310-django4.2-drfmaster py310-djangomaster-drf3.14 py310-drfmaster-djangomaster