From 0a5ec68e8e7f6bbd65717bc7d05dfeaf86bcfd14 Mon Sep 17 00:00:00 2001 From: Hasan Ramezani Date: Sun, 20 Oct 2024 14:19:37 +0200 Subject: [PATCH] Confirm Django 5.1 support --- .github/workflows/test.yml | 6 +++++- CHANGELOG.md | 3 +++ setup.cfg | 1 + tox.ini | 4 +++- 4 files changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5ecd792..c1a5251 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,14 +13,18 @@ jobs: strategy: matrix: python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] - django-version: ['4.2', '5.0', 'main'] + django-version: ['4.2', '5.0', '5.1', 'main'] exclude: - python-version: '3.8' django-version: '5.0' + - python-version: '3.8' + django-version: '5.1' - python-version: '3.8' django-version: 'main' - 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: '3.12' diff --git a/CHANGELOG.md b/CHANGELOG.md index 511494b..a57031f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +### Changed +- Confirm Django 5.1 support + ## [7.1.0] - 2024-08-20 ### Changed - Respect jDateField's input_formats kwarg when parsing date diff --git a/setup.cfg b/setup.cfg index 0de13d2..c84bc5b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -27,6 +27,7 @@ classifiers = Framework :: Django Framework :: Django :: 4.2 Framework :: Django :: 5.0 + Framework :: Django :: 5.1 [options] packages = find: diff --git a/tox.ini b/tox.ini index 01132b5..4f87e1b 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,7 @@ [tox] envlist = py{38,39,310,311}-dj42 - py{310,311,312}-dj{50,main} + py{310,311,312}-dj{50,51,main} py38-lint [gh-actions] @@ -16,6 +16,7 @@ python = DJANGO = 4.2: dj42 5.0: dj50 + 5.1: dj51 main: djmain [testenv] @@ -23,6 +24,7 @@ deps = -rrequirements-test.txt dj42: Django==4.2.* dj50: Django==5.0.* + dj51: Django==5.1.* djmain: https://github.com/django/django/archive/main.tar.gz ignore_outcome = djmain: True