Skip to content

Commit

Permalink
Drop support for Django 4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
hmpf committed Nov 12, 2024
1 parent e1a7303 commit 573773b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ requires-python = ">=3.10"
license = {text = "GPL-3.0-or-later"}
classifiers = [
"Framework :: Django",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Framework :: Django :: 5.1",
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
Expand All @@ -23,7 +24,7 @@ classifiers = [
"Topic :: System :: Monitoring",
]
dependencies = [
"Django>=4.2.16,<5.2",
"Django>=5.0.9,<5.2",
"dj-database-url>=0.5.0",
"django-cors-headers>=3.2",
"django-filter",
Expand Down
6 changes: 2 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tox]
envlist =
clean
py{310,311,312}-django{42,50,51}
py{310,311,312}-django{50,51}
py313-django51
coverage-html
skipsdist = True
Expand Down Expand Up @@ -53,10 +53,9 @@ setenv =
PIP_CONSTRAINT=constraints.txt

commands =
pip-compile --resolver backtracking --output-file requirements-django42.txt {posargs} pyproject.toml requirements/django42.txt constraints.txt
pip-compile --resolver backtracking --output-file requirements-django50.txt {posargs} pyproject.toml requirements/django50.txt constraints.txt
pip-compile --resolver backtracking --output-file requirements-django51.txt {posargs} pyproject.toml requirements/django51.txt constraints.txt
cp requirements-django42.txt requirements.txt
cp requirements-django51.txt requirements.txt

[testenv:coverage-xml]
deps =
Expand All @@ -81,7 +80,6 @@ setenv =
LANG=C.UTF-8
PYTHONPATH = {toxinidir}/src
PYTHONWARNINGS=once::DeprecationWarning
django42: DJANGO_VER=42
django50: DJANGO_VER=50
django51: DJANGO_VER=51

Expand Down

0 comments on commit 573773b

Please sign in to comment.