chore: add support for Django 5.2 and drop for 5.0 (#1092)

This commit is contained in:
Juro Oravec 2025-04-06 11:57:41 +02:00 committed by GitHub
parent 637e143538
commit 0ed46e4d30
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 12 additions and 12 deletions

View file

@ -4,10 +4,10 @@ Django-components supports all supported combinations versions of [Django](https
| -------------- | -------------- | | -------------- | -------------- |
| 3.8 | 4.2 | | 3.8 | 4.2 |
| 3.9 | 4.2 | | 3.9 | 4.2 |
| 3.10 | 4.2, 5.0, 5.1 | | 3.10 | 4.2, 5.1, 5.2 |
| 3.11 | 4.2, 5.0, 5.1 | | 3.11 | 4.2, 5.1, 5.2 |
| 3.12 | 4.2, 5.0, 5.1 | | 3.12 | 4.2, 5.1, 5.2 |
| 3.13 | 5.1 | | 3.13 | 5.1, 5.2 |
### Operating systems ### Operating systems

View file

@ -15,8 +15,8 @@ authors = [
classifiers = [ classifiers = [
"Framework :: Django", "Framework :: Django",
"Framework :: Django :: 4.2", "Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Framework :: Django :: 5.1", "Framework :: Django :: 5.1",
"Framework :: Django :: 5.2",
"Operating System :: OS Independent", "Operating System :: OS Independent",
"Programming Language :: Python", "Programming Language :: Python",
"Programming Language :: Python :: 3", "Programming Language :: Python :: 3",

14
tox.ini
View file

@ -5,8 +5,8 @@
[tox] [tox]
envlist = envlist =
py{38,39}-django42 py{38,39}-django42
py{310,311,312}-django{42,50,51} py{310,311,312}-django{42,51,52}
py{313}-django{51} py{313}-django{51,52}
flake8 flake8
isort isort
coverage coverage
@ -17,10 +17,10 @@ envlist =
python = python =
3.8: py38-django42 3.8: py38-django42
3.9: py39-django42 3.9: py39-django42
3.10: py310-django{42,50,51} 3.10: py310-django{42,51,52}
3.11: py311-django{42,50,51} 3.11: py311-django{42,51,52}
3.12: py312-django{42,50,51} 3.12: py312-django{42,51,52}
3.13: py313-django{51}, flake8, isort, coverage, mypy, black 3.13: py313-django{51,52}, flake8, isort, coverage, mypy, black
isolated_build = true isolated_build = true
@ -29,8 +29,8 @@ package = wheel
wheel_build_env = .pkg wheel_build_env = .pkg
deps = deps =
django42: Django>=4.2,<4.3 django42: Django>=4.2,<4.3
django50: Django>=5.0,<5.1
django51: Django>=5.1,<5.2 django51: Django>=5.1,<5.2
django52: Django>=5.2,<5.3
djc-core-html-parser==1.0.2 djc-core-html-parser==1.0.2
pytest pytest
pytest-xdist pytest-xdist