Skip to content

Commit

Permalink
Add support for django 5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
sevdog committed Aug 16, 2024
1 parent 0b65223 commit 385c4b8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
fail-fast: false
matrix:
python-version: ['3.10', '3.11', '3.12']
django-version: ['3.2','4.0','4.1','4.2','5.0','main']
django-version: ['3.2','4.0','4.1','4.2','5.0','5.1','main']
exclude:
# https://docs.djangoproject.com/en/dev/faq/install/#what-python-version-can-i-use-with-django
# Python 3.12 is not supported by Django < 4.0
Expand Down
9 changes: 6 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ description = "Django Group-based roles"
name = "django-group-role"
requires-python = ">=3.10"
dependencies = [
"django>=3.2,<5.1",
"django>=3.2,<5.2",
]
classifiers = [
"Programming Language :: Python",
Expand All @@ -25,6 +25,7 @@ classifiers = [
"Framework :: Django :: 4.1",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Framework :: Django :: 5.1",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
Expand Down Expand Up @@ -78,7 +79,7 @@ legacy_tox_ini = """
[tox]
envlist =
py{310}-django32
py{310,311,312}-django{40,41,42,50,main}
py{310,311,312}-django{40,41,42,50,51,main}
[gh]
python =
Expand All @@ -93,6 +94,7 @@ DJANGO =
4.1: dj41
4.2: dj42
5.0: dj50
5.0: dj51
main: djmain
[testenv]
Expand All @@ -105,6 +107,7 @@ deps=
django40: Django>=4.0,<4.1
django41: Django>=4.1,<4.2
django42: Django>=4.2,<4.3
django50: Django>=5.0a,<5.1
django50: Django>=5.0,<5.1
django51: Django>=5.1,<5.2
djmain: https://github.com/django/django/archive/main.tar.gz
"""

0 comments on commit 385c4b8

Please sign in to comment.