diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index 1b7cd22..450f228 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -28,7 +28,7 @@ jobs: strategy: matrix: - python-version: ['3.7', '3.8', '3.9', '3.10'] + python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] name: Build with Python ${{ matrix.python-version }} steps: diff --git a/CHANGELOG.md b/CHANGELOG.md index 63d24f6..b964461 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,9 @@ One common reason for such an error is the SQL generation which requires the dat The crash is a sign to double-check the migration. But if you are certain the migration is safe, you can ignore it (issue #209) - Fixed `RunPython` model import check when using a `through` object like `MyModel.many_to_many.through.objects.filter(...)` (issue #218) - Mark the `IgnoreMigration` operation as `elidable=True` +- Add support for Python 3.11 +- Add support for Django 4.1 +- Drop support for Django 2.2 ## 4.1.0 diff --git a/setup.py b/setup.py index f0f335a..7333fdc 100644 --- a/setup.py +++ b/setup.py @@ -51,14 +51,15 @@ setup( "Intended Audience :: Developers", "Environment :: Web Environment", "Framework :: Django", - "Framework :: Django :: 2.2", "Framework :: Django :: 3.2", "Framework :: Django :: 4.0", + "Framework :: Django :: 4.1", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", ], ) diff --git a/tox.ini b/tox.ini index 421060c..95a52a5 100644 --- a/tox.ini +++ b/tox.ini @@ -1,8 +1,8 @@ [tox] envlist = - py{37,38,39}-django22 py{37,38,39,310}-django32 py{38,39,310}-django40 + py{38,39,310,311}-django41 lint coverage @@ -12,6 +12,7 @@ python = 3.8: py38 3.9: py39 3.10: py310 + 3.11: py311 [testenv] commands = ./manage.py test --no-input {posargs} @@ -21,6 +22,7 @@ deps = django22: django>=2.2,<2.3 django32: django>=3.2,<3.3 django40: django>=4.0,<4.1 + django41: django>=4.1,<4.2 [testenv:lint] basepython = python3.8