chore: drop support for Django 3.2, 4.0, 4.1

This commit is contained in:
Juro Oravec 2024-04-18 10:44:19 +02:00
parent 4a25c9d56b
commit 6478776269
3 changed files with 13 additions and 19 deletions

View file

@ -144,10 +144,10 @@ Django-components supports all supported combinations versions of [Django](https
| Python version | Django version |
|----------------|--------------------------|
| 3.8 | 3.2, 4.0, 4.1, 4.2 |
| 3.9 | 3.2, 4.0, 4.1, 4.2 |
| 3.10 | 3.2, 4.0, 4.1, 4.2, 5.0 |
| 3.11 | 4.1, 4.2, 5.0 |
| 3.8 | 4.2 |
| 3.9 | 4.2 |
| 3.10 | 4.2, 5.0 |
| 3.11 | 4.2, 5.0 |
| 3.12 | 4.2, 5.0 |
## Create your first component

View file

@ -14,9 +14,6 @@ authors = [
]
classifiers = [
"Framework :: Django",
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.0",
"Framework :: Django :: 4.1",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Operating System :: OS Independent",
@ -29,7 +26,7 @@ classifiers = [
"Programming Language :: Python :: 3.12",
]
dependencies = [
'Django>=3.2',
'Django>=4.2',
]
license = {text = "MIT"}

19
tox.ini
View file

@ -4,10 +4,10 @@
[tox]
envlist =
py38-django{32,40,41,42}
py39-django{32,40,41,42}
py310-django{32,40,41,42,50}
py311-django{41,42,50}
py38-django{42}
py39-django{42}
py310-django{42,50}
py311-django{42,50}
py312-django{42,50}
flake8
isort
@ -16,10 +16,10 @@ envlist =
[gh-actions]
python =
3.8: py38-django{32,40,41,42}
3.9: py39-django{32,40,41,42}
3.10: py310-django{32,40,41,42,50}
3.11: py311-django{41,42,50}
3.8: py38-django{42}
3.9: py39-django{42}
3.10: py310-django{42,50}
3.11: py311-django{42,50}
3.12: py312-django{42,50}, flake8, isort, coverage, mypy
fail_on_no_env = True
@ -29,9 +29,6 @@ isolated_build = true
package = wheel
wheel_build_env = .pkg
deps =
django32: Django>=3.2,<3.3
django40: Django>=4.0,<4.1
django41: Django>=4.1,<4.2
django42: Django>=4.2,<4.3
django50: Django>=5.0,<5.1
pytest