Skip to content

Commit

Permalink
Merge pull request #754 from WisdomPill/misc/753/support_django51
Browse files Browse the repository at this point in the history
Add support to django 5.1
  • Loading branch information
WisdomPill authored Oct 20, 2024
2 parents 67b47db + f30d34c commit 196544b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
django-version:
- '4.2'
- '5.0'
- '5.1'
redis-version:
- 'latest'

Expand All @@ -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'

Expand Down
1 change: 1 addition & 0 deletions changelog.d/754.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Added support for django 5.1
7 changes: 5 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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]
Expand All @@ -72,6 +73,7 @@ python =
DJANGO =
4.2: dj42
5.0: dj50
5.1: dj51
main: djmain
REDIS =
latest: redislatest
Expand All @@ -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
Expand Down

0 comments on commit 196544b

Please sign in to comment.