Skip to content

Commit 2a6840c

Browse files
awais786auvipy
andauthored
feat: Adding django6 support. (#502)
* feat: Adding django6 support. * Update requirements/test-django.txt * Update requirements/test-django60.txt * feat: Adding django6 support. * fix: resolve Django 6.0 CI dependency issue Removed celery<6.0 from default.txt to avoid conflict with Django 6.0. Excluded Python 3.11 + Django 6.0 from CI, as Django 6.0 requires Python 3.12+. * fix: resolve Django 6.0 CI dependency issue Removed celery<6.0 from default.txt to avoid conflict with Django 6.0. Excluded Python 3.11 + Django 6.0 from CI, as Django 6.0 requires Python 3.12+. --------- Co-authored-by: Asif Saif Uddin {"Auvi":"অভি"} <auvipy@gmail.com>
1 parent 23baf3a commit 2a6840c

File tree

6 files changed

+19
-5
lines changed

6 files changed

+19
-5
lines changed

.github/workflows/test.yaml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
matrix:
1616
python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13", "pypy3.10" ]
17-
django: [ "32", "42", "51", "52" ]
17+
django: [ "32", "42", "51", "52", "60" ]
1818
exclude:
1919
- python-version: "3.13"
2020
django: "32"
@@ -28,6 +28,16 @@ jobs:
2828
django: "51"
2929
- python-version: "3.12"
3030
django: "32"
31+
- python-version: "3.9"
32+
django: "60"
33+
- python-version: "3.10"
34+
django: "60"
35+
- python-version: "3.11"
36+
django: "60"
37+
- python-version: "pypy3.10"
38+
django: "51"
39+
- python-version: "pypy3.10"
40+
django: "60"
3141

3242
services:
3343
postgres:

requirements/default.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
celery>=5.2.7,<6.0
1+
celery>=5.2.7
22
Django>=3.2.25

requirements/test-django.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Django>=3.2,<6.0
1+
Django>=3.2,<6.1
22
psycopg>=3.1.8

requirements/test-django60.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
django>=6.0.0a1,<6.1

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ def _pyimp():
4949
Framework :: Django :: 5.0
5050
Framework :: Django :: 5.1
5151
Framework :: Django :: 5.2
52+
Framework :: Django :: 6.0
5253
Operating System :: OS Independent
5354
Topic :: Communications
5455
Topic :: System :: Distributed Computing

tox.ini

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[tox]
22
envlist =
3-
py313-django{51,52}
4-
py312-django{51,52,42}
3+
py313-django{51,52,60}
4+
py312-django{51,52,60,42}
55
py311-django{51,52,42}
66
py310-django{51,52,42,32}
77
py39-django{42,32}
@@ -21,6 +21,7 @@ DJANGO =
2121
5.0: django50
2222
5.1: django51
2323
5.2: django52
24+
6.0: django60
2425

2526
[testenv]
2627
passenv =
@@ -35,6 +36,7 @@ deps=
3536
django50: -r{toxinidir}/requirements/test-django50.txt
3637
django51: -r{toxinidir}/requirements/test-django51.txt
3738
django52: -r{toxinidir}/requirements/test-django52.txt
39+
django60: -r{toxinidir}/requirements/test-django60.txt
3840

3941
cov,integration: -r{toxinidir}/requirements/test-django.txt
4042

0 commit comments

Comments
 (0)