Skip to content

Commit 788a204

Browse files
authored
chore: Add support for Django 5.2 (#1544)
* chore: Add support for Django 5.2 * chore: Update setup.py
1 parent c52cf2b commit 788a204

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

.github/workflows/tests.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
max-parallel: 4
1414
matrix:
15-
django: ["3.2", "4.2", "5.0", "5.1"]
15+
django: ["3.2", "4.2", "5.0", "5.1", "5.2"]
1616
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
1717
exclude:
1818
- django: "3.2"
@@ -27,6 +27,10 @@ jobs:
2727
python-version: "3.8"
2828
- django: "5.1"
2929
python-version: "3.9"
30+
- django: "5.2"
31+
python-version: "3.8"
32+
- django: "5.2"
33+
python-version: "3.9"
3034
steps:
3135
- uses: actions/checkout@v3
3236
- name: Set up Python ${{ matrix.python-version }}

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@
5555
"Framework :: Django :: 3.2",
5656
"Framework :: Django :: 4.1",
5757
"Framework :: Django :: 4.2",
58+
"Framework :: Django :: 5.1",
59+
"Framework :: Django :: 5.2",
5860
],
5961
keywords="api graphql protocol rest relay graphene",
6062
packages=find_packages(exclude=["tests", "examples", "examples.*"]),

tox.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ DJANGO =
1919
4.2: django42
2020
5.0: django50
2121
5.1: django51
22+
5.2: django52
2223
main: djangomain
2324

2425
[testenv]
@@ -34,6 +35,7 @@ deps =
3435
django42: Django>=4.2,<4.3
3536
django50: Django>=5.0,<5.1
3637
django51: Django>=5.1,<5.2
38+
django52: Django>=5.2,<6.0
3739
djangomain: https://github.com/django/django/archive/main.zip
3840
commands = {posargs:pytest --cov=graphene_django graphene_django examples}
3941

0 commit comments

Comments
 (0)