diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2ecaeb2..7e62c58 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,7 +11,7 @@ jobs: max-parallel: 5 matrix: python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] - django-version: ['3.2', '4.1', '4.2', '5.0'] + django-version: ['3.2', '4.1', '4.2', '5.0', '5.1'] include: # Tox configuration for QA environment - python-version: '3.11' @@ -29,11 +29,15 @@ jobs: # Exclude Django 3.2 for Python 3.11 - python-version: '3.11' django-version: '3.2' - # Django 5.0 doesn't support < Python 3.10 + # Django 5.0/5.1 don't support < Python 3.10 - python-version: '3.8' django-version: '5.0' - python-version: '3.9' django-version: '5.0' + - python-version: '3.8' + django-version: '5.1' + - python-version: '3.9' + django-version: '5.1' steps: - uses: actions/checkout@v2 diff --git a/setup.py b/setup.py index 10eaf23..9f7b0bd 100644 --- a/setup.py +++ b/setup.py @@ -26,6 +26,7 @@ "Framework :: Django :: 4.1", "Framework :: Django :: 4.2", "Framework :: Django :: 5.0", + "Framework :: Django :: 5.1", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python", diff --git a/tox.ini b/tox.ini index 84ee59d..aa9b168 100644 --- a/tox.ini +++ b/tox.ini @@ -5,6 +5,7 @@ envlist = py{38,39,310,311}-dj41 py{38,39,310,311}-dj42 py{310,311,312}-dj50 + py{310,311,312}-dj51 py{311}-djmain py{311}-djqa @@ -24,6 +25,7 @@ DJANGO = 4.1: dj41 4.2: dj42 5.0: dj50 + 5.1: dj51 main: djmain qa: djqa @@ -34,6 +36,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 coverage requests-mock