diff --git a/requirements/optionals.txt b/requirements/optionals.txt index 7ce28e34..d64df878 100644 --- a/requirements/optionals.txt +++ b/requirements/optionals.txt @@ -1,6 +1,6 @@ -django-allauth<0.55.0 # breaking change breaking dj-rest-auth +django-allauth>=0.56.0 drf-jwt>=0.13.0 -dj-rest-auth>=1.0.0 +dj-rest-auth>=5.0.2 djangorestframework-simplejwt>=4.4.0 django-polymorphic>=2.1 django-rest-polymorphic>=0.1.8 diff --git a/tests/conftest.py b/tests/conftest.py index c46e4892..c4d53a89 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -70,6 +70,7 @@ def pytest_configure(config): 'django.middleware.common.CommonMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.middleware.locale.LocaleMiddleware', + 'allauth.account.middleware.AccountMiddleware', ), INSTALLED_APPS=( 'django.contrib.auth', diff --git a/tox.ini b/tox.ini index 46153116..287c6560 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,7 @@ [tox] envlist = py39-lint,py39-docs, - {py36,py37,py38}-django{2.2}-drf{3.10,3.11}, + {py37,py38}-django{2.2}-drf{3.10,3.11}, {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},