Skip to content

Commit

Permalink
🔥 Drop Django 2.2 (#213)
Browse files Browse the repository at this point in the history
* 🔥 Drops Django 2.2

* 📝 Updates README

* 🔥 Removes test_paths
  • Loading branch information
jefftriplett authored May 3, 2024
1 parent 9039f37 commit 5600104
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 20 deletions.
14 changes: 0 additions & 14 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,31 +25,17 @@ jobs:
- "3.11"
- "3.12"
django-version:
- "2.2" # LTS
- "3.2" # LTS
- "4.2" # LTS
- "5.0"
drf-version:
- ""
- "3.14" # only testing latest version for now
exclude:
# DRF 3.14 is not compatible with Django 2.x
- django-version: "2.2"
drf-version: "3.14"
# Python 3.9 is compatible with Django 3.1+
- python-version: "3.9"
django-version: "2.2"
# Python 3.10 is compatible with Django 3.2+
- python-version: "3.10"
django-version: "2.2"
# Python 3.11 is compatible with Django 4.0+
- python-version: "3.11"
django-version: "2.2"
- python-version: "3.11"
django-version: "3.2"
# Python 3.12 is compatible with Django 4.0+
- python-version: "3.12"
django-version: "2.2"
- python-version: "3.12"
django-version: "3.2"
# Django 5.0 is compatible with Python 3.10+
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ to help your team dramatically improve your productivity.

## Support

Supports: Python 3.6, 3.7, 3.8, 3.9, 3.10, and 3.11.
Supports: Python 3.8, 3.9, 3.10, 3.11, and 3.12.

Supports Django Versions: 2.0, 2.1, 2.2, 3.0, 3.1, 3.2, 4.0, 4.1, and 4.2.
Supports Django Versions: 3.2, 4.2, and 5.0.

## Documentation

Expand Down
5 changes: 3 additions & 2 deletions noxfile.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
import nox

DJANGO_VERSIONS = ["2.2", "3.2", "4.2", "5.0"]
DJANGO_VERSIONS = ["3.2", "4.2", "5.0"]
DRF_VERSIONS = ["3.11", "3.12", "3.13", "3.14"]
PYTHON_VERSIONS = ["3.8", "3.9", "3.10", "3.11", "3.12"]

INVALID_PYTHON_DJANGO_SESSIONS = [
("3.8", "5.0"),
("3.9", "5.0"),
("3.11", "3.2"),
("3.12", "2.2"),
("3.12", "3.2"),
]

Expand Down
1 change: 0 additions & 1 deletion pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@ addopts = --reuse-db
norecursedirs = build dist docs .eggs/* *.egg-info htmlcov test_plus .git .tox
python_files = test*.py
pythonpath = test_project/
test_paths = test_project
1 change: 0 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ classifiers =
Development Status :: 5 - Production/Stable
Environment :: Web Environment
Framework :: Django
Framework :: Django :: 2.2
Framework :: Django :: 3.2
Framework :: Django :: 4.0
Framework :: Django :: 4.1
Expand Down

0 comments on commit 5600104

Please sign in to comment.