Skip to content

Commit

Permalink
Adjust supported Python and Django versions
Browse files Browse the repository at this point in the history
- Add support for Django 5.0
- Drop support for Django 3.2 and 4.1
- Drop support for Python 3.7 and 3.8
  • Loading branch information
justinmayer committed May 14, 2024
1 parent b22ca49 commit 74f0529
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 17 deletions.
19 changes: 4 additions & 15 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,27 +14,16 @@ jobs:
fail-fast: false
matrix:
python-version:
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
django-version:
- "3.2"
- "4.1"
- "4.2"
- "5.0"
exclude:
# Django 3.2 is compatible with Python <= 3.10
- python-version: "3.11"
django-version: "3.2"

# Django 4.1 is compatible with Python >= 3.8
- python-version: "3.7"
django-version: "4.1"

# Django 4.2 is compatible with Python >= 3.8
- python-version: "3.7"
django-version: "4.2"
# Django 5.0 is compatible with Python >= 3.10
- python-version: "3.9"
django-version: "5.0"

steps:
- uses: actions/checkout@v3
Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@ classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Framework :: Django",
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.1",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
Expand Down

0 comments on commit 74f0529

Please sign in to comment.