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 13, 2024
1 parent 99d4d08 commit 1d36f3e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 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 @@ -22,7 +23,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
4 changes: 1 addition & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,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 @@ -79,7 +78,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 1d36f3e

Please sign in to comment.