Support Py3.11 and Django 4.1, and drop Django 2.1 support.

This commit is contained in:
David Wobrock authored and David Wobrock committed 2022-12-17 11:45:19 +01:00
1 parent ec5731f298
commit f9a2e4189c
4 files changed
+9 -3

No files matched your search

+1 -1
View File
@@ -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:
+3
View File
@@ -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
+2 -1
View File
@@ -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",
],
)
+3 -1
View File
@@ -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