Skip to content

Commit

Permalink
Confirm support of Django 5.1 and drop Django 3.2 (#822)
Browse files Browse the repository at this point in the history
* Confirm support of Django 5.1 and drop Django 3.2

* Exclude pypy 3.10 with Django 5.1
  • Loading branch information
peymanslh authored Oct 27, 2024
1 parent 2832bda commit f7389ac
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@ jobs:
fail-fast: false
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12', 'pypy-3.10']
django-version: ['3.2', '4.1', '4.2', '5.0', 'main']
django-version: ['4.1', '4.2', '5.0', '5.1', 'main']
exclude:
- python-version: '3.9'
django-version: '5.0'
- python-version: '3.9'
django-version: '5.1'
- python-version: '3.9'
django-version: 'main'
- python-version: 'pypy-3.10'
Expand All @@ -22,14 +24,10 @@ jobs:
django-version: '4.2'
- python-version: 'pypy-3.10'
django-version: '5.0'
- python-version: 'pypy-3.10'
django-version: '5.1'
- python-version: 'pypy-3.10'
django-version: 'main'
- python-version: '3.10'
django-version: '3.2'
- python-version: '3.11'
django-version: '3.2'
- python-version: '3.12'
django-version: '3.2'
- python-version: '3.12'
django-version: '4.1'

Expand Down
1 change: 1 addition & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ History
Unreleased
==========
* Drop support for Python 3.8
* Confirm support for Django 5.1 and drop support for Django 3.2

3.1.0
=====
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Framework :: Django",
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.0",
"Framework :: Django :: 4.1",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Framework :: Django :: 5.1",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
Expand Down
7 changes: 4 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[tox]
envlist =
pypy3-dj{32,41,42}
py{39,310,311}-dj32
pypy3-dj{41,42}
py{39,310,311}-dj41
py{39,310,311,312}-dj42
py{310,311,312}-dj50
py{310,311,312}-dj51
py{310,311,312}-djmain
docs

Expand All @@ -18,10 +18,10 @@ python =

[gh-actions:env]
DJANGO =
3.2: dj32
4.1: dj41
4.2: dj42
5.0: dj50
5.1: dj51
main: djmain

[testenv]
Expand All @@ -37,6 +37,7 @@ deps =
dj41: Django>=4.1,<4.2
dj42: Django>=4.2,<4.3
dj50: Django>=5.0,<5.1
dj51: Django>=5.1,<5.2
djmain: https://github.com/django/django/archive/main.tar.gz
jinja2
coverage
Expand Down

0 comments on commit f7389ac

Please sign in to comment.