File tree 5 files changed +27
-52
lines changed
5 files changed +27
-52
lines changed Original file line number Diff line number Diff line change @@ -11,52 +11,24 @@ jobs:
11
11
name : Python ${{ matrix.env.python }} | ${{ matrix.env.TOXENV }}
12
12
runs-on : ubuntu-22.04
13
13
strategy :
14
- fail-fast : false
15
14
matrix :
16
- env :
17
- - python : 3.8
18
- TOXENV : py38-django32
19
-
20
- - python : 3.9
21
- TOXENV : py39-django32
22
- - python : 3.9
23
- TOXENV : py39-django42
24
-
25
- - python : ' 3.10'
26
- TOXENV : py310-django32
27
- - python : ' 3.10'
28
- TOXENV : py310-django42
29
- - python : ' 3.10'
30
- TOXENV : py310-django50
31
- - python : ' 3.10'
32
- TOXENV : py310-django51
33
-
34
- - python : ' 3.11'
35
- TOXENV : py311-django42
36
- - python : ' 3.11'
37
- TOXENV : py311-django50
38
- - python : ' 3.11'
39
- TOXENV : py311-django51
40
-
41
- - python : ' 3.12'
42
- TOXENV : py312-django42
43
- - python : ' 3.12'
44
- TOXENV : py312-django50
45
- - python : ' 3.12'
46
- TOXENV : py312-django51
47
-
48
- - python : ' 3.13'
49
- TOXENV : py313-django51
15
+ python-version :
16
+ - 3.9
17
+ - ' 3.10'
18
+ - ' 3.11'
19
+ - ' 3.12'
20
+ - ' 3.13'
50
21
51
22
steps :
52
23
- uses : actions/checkout@v4
24
+
53
25
- name : setup python
54
26
uses : actions/setup-python@v5
55
27
with :
56
- python-version : ${{ matrix.env.python }}
28
+ python-version : ${{ matrix.python-version }}
29
+
57
30
- name : Install tox
58
31
run : pip install tox
59
- - name : Run Tests
60
- env :
61
- TOXENV : django${{ matrix.env.TOXENV }}
62
- run : tox -e ${{ matrix.env.TOXENV }}
32
+
33
+ - name : Run tox targets for ${{ matrix.python-version }}
34
+ run : tox run -f py$(echo ${{ matrix.python-version }} | tr -d .)
Original file line number Diff line number Diff line change @@ -132,6 +132,14 @@ To run the tests against the current environment:
132
132
Changelog
133
133
=========
134
134
135
+ Pending
136
+ -------
137
+
138
+ - Add compatibility with Python 3.12 and 3.13.
139
+ - Remove compatibility with Python 3.8.
140
+ - Add compatibility with Django 5.1 and 5.2.
141
+ - Remove compatibility with Django 3.2, 4.0, and 4.1.
142
+
135
143
3.0.2
136
144
-----
137
145
Original file line number Diff line number Diff line change @@ -86,6 +86,7 @@ def get_package_data(package):
86
86
"Programming Language :: Python :: 3.10" ,
87
87
"Programming Language :: Python :: 3.11" ,
88
88
"Programming Language :: Python :: 3.12" ,
89
+ "Programming Language :: Python :: 3.13" ,
89
90
"Framework :: Django" ,
90
91
],
91
92
)
Original file line number Diff line number Diff line change 13
13
)
14
14
15
15
SECRET_KEY = 'testsecretkey'
16
-
17
- MIDDLEWARE_CLASSES = (
18
- 'django.middleware.common.CommonMiddleware' ,
19
- 'django.middleware.csrf.CsrfViewMiddleware'
20
- )
Original file line number Diff line number Diff line change 1
1
[tox]
2
2
envlist =
3
- py38-django{32}
4
- py39-django{32,42}
5
- py310-django{32,42,50,51}
6
- py311-django{42,50,51}
7
- py312-django{42,50,51}
8
- py313-django{51}
3
+ py39-django{42}
4
+ py310-django{42,50,51,52}
5
+ py311-django{42,50,51,52}
6
+ py312-django{42,50,51,52}
7
+ py313-django{51,52}
9
8
10
9
[testenv]
11
10
set_env =
@@ -17,7 +16,7 @@ commands =
17
16
-m django test
18
17
deps =
19
18
djangorestframework<4
20
- django32: Django>=3.2,<3.3
21
19
django42: Django>=4.2,<4.3
22
20
django50: Django>=5.0,<5.1
23
21
django51: Django>=5.1,<5.2
22
+ django52: Django>=5.2a1,<6.0
You can’t perform that action at this time.
0 commit comments