Skip to content

Commit

Permalink
DRAFT: Start testing on Django v5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss committed Jun 25, 2024
1 parent d79868e commit bbfe7a9
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: false
matrix: # https://docs.djangoproject.com/en/stable/faq/install/#what-python-version-can-i-use-with-django
django-version: ["3.2", "4.2", "5.0"]
django-version: ["3.2", "4.2", "5.0", "5.1a1"]
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', 'pypy-3.10']
exclude:
- django-version: "3.2"
Expand All @@ -23,6 +23,10 @@ jobs:
python-version: "3.8"
- django-version: "5.0"
python-version: "3.9"
- django-version: "5.1a1"
python-version: "3.8"
- django-version: "5.1a1"
python-version: "3.9"

services:
rabbitmq:
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ def _pyimp():
Framework :: Django :: 4.1
Framework :: Django :: 4.2
Framework :: Django :: 5.0
Framework :: Django :: 5.1
Operating System :: OS Independent
Topic :: Communications
Topic :: System :: Distributed Computing
Expand Down
10 changes: 6 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,16 @@ DJANGO =
4.1: django41
4.2: django42
5.0: django50
5.1: django51

[tox]
envlist =
py38-django{32,42}
py39-django{32,42}
py310-django{32,42,50}
py311-django{42,50}
py312-django{42,50}
pypy3-django{32,42,50}
py310-django{32,42,50,51}
py311-django{42,50,51}
py312-django{42,50,51}
pypy3-django{32,42,50,51}
flake8
apicheck
linkcheck
Expand All @@ -42,6 +43,7 @@ deps=
django41: Django ~= 4.1
django42: Django ~= 4.2
django50: Django ~= 5.0
django51: Django ~= 5.1

linkcheck,apicheck: -r{toxinidir}/requirements/docs.txt
flake8,pydocstyle: -r{toxinidir}/requirements/pkgutils.txt
Expand Down

0 comments on commit bbfe7a9

Please sign in to comment.