diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a6c4b8bec6..40b15f7a0c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,13 +13,8 @@ jobs: fail-fast: false matrix: python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] - django-version: ['main', '3.1', '3.2', '4.0', '4.1', '4.2'] + django-version: ['main', '3.2', '4.0', '4.1', '4.2'] exclude: - - python-version: '3.10' - django-version: '3.1' - - python-version: '3.11' - django-version: '3.1' - - python-version: '3.11' django-version: '3.2' diff --git a/ChangeLog.rst b/ChangeLog.rst index 7d72173280..5c0fd752e1 100644 --- a/ChangeLog.rst +++ b/ChangeLog.rst @@ -7,6 +7,12 @@ Note worthy changes - ... +Backwards incompatible changes +------------------------------ + +- Dropped support for Django 3.1. + + 0.55.0 (2023-08-22) ******************* diff --git a/allauth/account/__init__.py b/allauth/account/__init__.py index 9496f4eeb5..e69de29bb2 100644 --- a/allauth/account/__init__.py +++ b/allauth/account/__init__.py @@ -1,5 +0,0 @@ -import django - - -if django.VERSION < (3, 2): # pragma: no cover - default_app_config = "allauth.account.apps.AccountConfig" diff --git a/allauth/socialaccount/__init__.py b/allauth/socialaccount/__init__.py index be050e269a..e69de29bb2 100644 --- a/allauth/socialaccount/__init__.py +++ b/allauth/socialaccount/__init__.py @@ -1,5 +0,0 @@ -import django - - -if django.VERSION < (3, 2): # pragma: no cover - default_app_config = "allauth.socialaccount.apps.SocialAccountConfig" diff --git a/docs/installation/requirements.rst b/docs/installation/requirements.rst index e14fa3f9dd..fec24240f4 100644 --- a/docs/installation/requirements.rst +++ b/docs/installation/requirements.rst @@ -5,7 +5,7 @@ This package has the following external dependencies: - Python 3.7, 3.8, 3.9, or 3.10, 3.11 -- Django (3.1+) +- Django (3.2+) - Depending on which social providers you use: diff --git a/setup.cfg b/setup.cfg index 8041944311..e472d56ca6 100644 --- a/setup.cfg +++ b/setup.cfg @@ -23,7 +23,6 @@ classifiers = Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.11 Framework :: Django - Framework :: Django :: 3.1 Framework :: Django :: 3.2 Framework :: Django :: 4.0 Framework :: Django :: 4.1 @@ -45,7 +44,7 @@ tests_require = pytest >= 7.4 pytest-django >= 4.5.2 install_requires = - Django >= 3.1 + Django >= 3.2 python3-openid >= 3.0.8 requests-oauthlib >= 0.3.0 requests >= 2.0.0 diff --git a/tox.ini b/tox.ini index a77e1f1502..01a5af319c 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,5 @@ [tox] envlist = - py{37,38,39}-django{31} py{37,38,39,310}-django32 py{38,39,310,311}-django{40,41,42} py{310,311}-djangomain @@ -17,7 +16,6 @@ deps = Pillow>=9.0 pytest>=7.4 pytest-django>=4.5.2 - django31: Django==3.1.* django32: Django==3.2.* django40: Django==4.0.* django41: Django==4.1.* @@ -82,7 +80,6 @@ PYTHON_VER = 3.11: py311 DJANGO = main: djangomain - 3.1: django31 3.2: django32 4.0: django40 4.1: django41