Skip to content

Commit 9c4add4

Browse files
authored
Merge pull request #64 from ulgens/new-django-support
New Django support
2 parents e8302fc + 8f63377 commit 9c4add4

File tree

4 files changed

+26
-2
lines changed

4 files changed

+26
-2
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,20 @@ jobs:
2121
tox-env:
2222
- "dj42" # LTS
2323
- "dj50"
24+
- "dj52" # LTS
25+
- "dj60"
26+
- "djmain"
27+
exclude:
28+
# Django 6.0 requires Python >=3.12
29+
- python-version: "3.10"
30+
- tox-env: "dj60"
31+
- python-version: "3.11"
32+
- tox-env: "dj60"
33+
# Current main branch requires Python >=3.12
34+
- python-version: "3.10"
35+
tox-env: "djmain"
36+
- python-version: "3.11"
37+
tox-env: "djmain"
2438

2539
env:
2640
TOXENV: ${{ matrix.tox-env }}

README.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ Automated code metrics:
2626

2727
* Free software: MIT license
2828
* Documentation for the Click command line library: https://click.palletsprojects.com/en/stable/
29-
* Compatible with Django 4.2 and 5.0 running on Python 3.10, 3.11, 3.12, 3.13 and 3.14 (note: 3.10+ required for Django 5.0).
29+
* Compatible with Django 4.2, 5.0, 5.2 and 6.0 running on Python 3.10, 3.11, 3.12, 3.13 and 3.14
30+
* 3.10+ required for Django 5.0 and above
31+
* 3.12+ required for Django 6.0 and above
3032

3133

3234
Installation

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
"Development Status :: 4 - Beta",
1616
"Framework :: Django :: 4.2",
1717
"Framework :: Django :: 5.0",
18+
"Framework :: Django :: 5.2",
19+
"Framework :: Django :: 6.0",
1820
"Intended Audience :: Developers",
1921
"License :: OSI Approved :: MIT License",
2022
"Operating System :: OS Independent",

tox.ini

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
[tox]
22
envlist =
3-
dj{42,50}
3+
dj{42,50,52,60,main}
44

55
[gh-actions]
66
django =
77
4.2: dj42
88
5.0: dj50
9+
5.2: dj52
10+
6.0: dj60
11+
main: djmain
912

1013
[testenv]
1114
package = editable
@@ -17,4 +20,7 @@ deps =
1720
-rrequirements-test.txt
1821
dj42: django>=4.2,<4.3
1922
dj50: django>=5.0,<5.1
23+
dj52: django>=5.2,<5.3
24+
dj60: django>=6.0,<6.1
25+
djmain: https://github.com/django/django/archive/main.tar.gz
2026
commands = pytest -rxs --cov-report= --cov-append --cov djclick {posargs:djclick}

0 commit comments

Comments
 (0)