Skip to content

Commit

Permalink
feat: Drop support for Django 3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
pennersr committed Aug 25, 2023
1 parent 6a9b248 commit b83f925
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 22 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down
6 changes: 6 additions & 0 deletions ChangeLog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ Note worthy changes
- ...


Backwards incompatible changes
------------------------------

- Dropped support for Django 3.1.


0.55.0 (2023-08-22)
*******************

Expand Down
5 changes: 0 additions & 5 deletions allauth/account/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +0,0 @@
import django


if django.VERSION < (3, 2): # pragma: no cover
default_app_config = "allauth.account.apps.AccountConfig"
5 changes: 0 additions & 5 deletions allauth/socialaccount/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +0,0 @@
import django


if django.VERSION < (3, 2): # pragma: no cover
default_app_config = "allauth.socialaccount.apps.SocialAccountConfig"
2 changes: 1 addition & 1 deletion docs/installation/requirements.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
3 changes: 1 addition & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
3 changes: 0 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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.*
Expand Down Expand Up @@ -82,7 +80,6 @@ PYTHON_VER =
3.11: py311
DJANGO =
main: djangomain
3.1: django31
3.2: django32
4.0: django40
4.1: django41
Expand Down

0 comments on commit b83f925

Please sign in to comment.