From 16427f2d54bc30f1c62afc2f2ca9efbf75530e0a Mon Sep 17 00:00:00 2001 From: WisdomPill Date: Sun, 20 Oct 2024 18:24:29 +0300 Subject: [PATCH 1/5] Add support to django 5.1 --- .github/workflows/ci.yml | 3 ++- setup.cfg | 7 +++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 30b52ba9..eb46a604 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,6 +20,7 @@ jobs: django-version: - '4.2' - '5.0' + - '5,1' redis-version: - 'latest' @@ -36,7 +37,7 @@ jobs: python-version: '3.9' # latest Django with pre-release redis - - django-version: '5.0' + - django-version: '5.1' redis-version: 'master' python-version: '3.11' diff --git a/setup.cfg b/setup.cfg index fbbc9113..08781667 100644 --- a/setup.cfg +++ b/setup.cfg @@ -14,6 +14,7 @@ classifiers = Framework :: Django Framework :: Django :: 4.2 Framework :: Django :: 5.0 + Framework :: Django :: 5.1 Intended Audience :: Developers License :: OSI Approved :: BSD License Operating System :: OS Independent @@ -56,9 +57,9 @@ envlist = ruff mypy # tests against released versions - py{38,39,310,311}-dj{42,50}-redislatest + py{38,39,310,311}-dj{42,50,51}-redislatest # tests against unreleased versions - py311-dj50-redismaster + py311-dj51-redismaster py311-djmain-redis{latest,master} [gh-actions] @@ -72,6 +73,7 @@ python = DJANGO = 4.2: dj42 5.0: dj50 + 5.1: dj51 main: djmain REDIS = latest: redislatest @@ -98,6 +100,7 @@ commands = deps = dj42: Django>=4.2,<5.0 dj50: Django>=5.0,<5.1 + dj51: Django>=5.1,<5.2 djmain: https://github.com/django/django/archive/main.tar.gz msgpack>=0.6.0 pytest From 910eab8871c904cb1c7fa5f97aa3cbc121d01412 Mon Sep 17 00:00:00 2001 From: WisdomPill Date: Sun, 20 Oct 2024 18:35:19 +0300 Subject: [PATCH 2/5] Added CHANGELOG --- changelog.d/754.misc | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog.d/754.misc diff --git a/changelog.d/754.misc b/changelog.d/754.misc new file mode 100644 index 00000000..4945394e --- /dev/null +++ b/changelog.d/754.misc @@ -0,0 +1 @@ +Added support for django 5.1 \ No newline at end of file From 6e07a13d3cf7f8fb032a4ebe4e902c466f4df0b1 Mon Sep 17 00:00:00 2001 From: WisdomPill Date: Sun, 20 Oct 2024 18:24:29 +0300 Subject: [PATCH 3/5] Add support to django 5.1 --- .github/workflows/ci.yml | 3 ++- setup.cfg | 7 +++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 30b52ba9..eb46a604 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,6 +20,7 @@ jobs: django-version: - '4.2' - '5.0' + - '5,1' redis-version: - 'latest' @@ -36,7 +37,7 @@ jobs: python-version: '3.9' # latest Django with pre-release redis - - django-version: '5.0' + - django-version: '5.1' redis-version: 'master' python-version: '3.11' diff --git a/setup.cfg b/setup.cfg index fbbc9113..08781667 100644 --- a/setup.cfg +++ b/setup.cfg @@ -14,6 +14,7 @@ classifiers = Framework :: Django Framework :: Django :: 4.2 Framework :: Django :: 5.0 + Framework :: Django :: 5.1 Intended Audience :: Developers License :: OSI Approved :: BSD License Operating System :: OS Independent @@ -56,9 +57,9 @@ envlist = ruff mypy # tests against released versions - py{38,39,310,311}-dj{42,50}-redislatest + py{38,39,310,311}-dj{42,50,51}-redislatest # tests against unreleased versions - py311-dj50-redismaster + py311-dj51-redismaster py311-djmain-redis{latest,master} [gh-actions] @@ -72,6 +73,7 @@ python = DJANGO = 4.2: dj42 5.0: dj50 + 5.1: dj51 main: djmain REDIS = latest: redislatest @@ -98,6 +100,7 @@ commands = deps = dj42: Django>=4.2,<5.0 dj50: Django>=5.0,<5.1 + dj51: Django>=5.1,<5.2 djmain: https://github.com/django/django/archive/main.tar.gz msgpack>=0.6.0 pytest From fae0b01de917e0d292ceb6484e4fdf074ead7b4c Mon Sep 17 00:00:00 2001 From: WisdomPill Date: Sun, 20 Oct 2024 18:35:19 +0300 Subject: [PATCH 4/5] Added CHANGELOG --- changelog.d/754.misc | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog.d/754.misc diff --git a/changelog.d/754.misc b/changelog.d/754.misc new file mode 100644 index 00000000..4945394e --- /dev/null +++ b/changelog.d/754.misc @@ -0,0 +1 @@ +Added support for django 5.1 \ No newline at end of file From ece49972c24f6c57695d4c4a8bbf7d0c04d0819f Mon Sep 17 00:00:00 2001 From: WisdomPill Date: Sun, 20 Oct 2024 18:50:14 +0300 Subject: [PATCH 5/5] Fixed django 5.1 version in ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index eb46a604..f42b4ef9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,7 @@ jobs: django-version: - '4.2' - '5.0' - - '5,1' + - '5.1' redis-version: - 'latest'