Skip to content

Commit 5b5428f

Browse files
authored
added django 5.2rc1 lts and trim down django versions (#865)
* added django 5.2rc1 lts and trim down django versions * added django 5.2rc1 lts and trim down django versions and remap python versions
1 parent 082e5f5 commit 5b5428f

File tree

3 files changed

+16
-19
lines changed

3 files changed

+16
-19
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix: # https://docs.djangoproject.com/en/stable/faq/install/#what-python-version-can-i-use-with-django
15-
django-version: ["3.2", "4.2", "5.0", "5.1", "5.2rc1"]
15+
django-version: ["3.2", "4.2", "5.1", "5.2"]
1616
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', 'pypy-3.10']
1717
exclude:
1818
- django-version: "3.2"
@@ -23,13 +23,9 @@ jobs:
2323
python-version: "3.13"
2424
- django-version: "4.2"
2525
python-version: "3.13"
26-
- django-version: "5.0"
27-
python-version: "3.9"
28-
- django-version: "5.0"
29-
python-version: "3.13"
3026
- django-version: "5.1"
3127
python-version: "3.9"
32-
- django-version: "5.2rc1"
28+
- django-version: "5.2"
3329
python-version: "3.9"
3430

3531
services:

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
Framework :: Django :: 4.2
3030
Framework :: Django :: 5.0
3131
Framework :: Django :: 5.1
32+
Framework :: Django :: 5.2
3233
Operating System :: OS Independent
3334
Topic :: Communications
3435
Topic :: System :: Distributed Computing

tox.ini

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,30 @@
22

33
[gh-actions]
44
python =
5-
3.8: py38, apicheck, linkcheck
6-
3.9: py39, flake8, pydocstyle, cov
5+
3.8: py38
6+
3.9: py39, apicheck, linkcheck, flake8, pydocstyle, cov
77
3.10: py310
88
3.11: py311
99
3.12: py312
10+
3.13: py313
1011
pypy-3.10: pypy3
1112

1213
[gh-actions:env]
1314
DJANGO =
1415
3.2: django32
15-
4.1: django41
1616
4.2: django42
17-
5.0: django50
1817
5.1: django51
18+
5.2: django52
1919

2020
[tox]
2121
envlist =
2222
py38-django{32,42}
2323
py39-django{32,42}
24-
py310-django{32,42,50,51}
25-
py311-django{42,50,51}
26-
py312-django{42,50,51}
27-
pypy3-django{32,42,50,51}
24+
py310-django{32,42,51}
25+
py311-django{42,51,52}
26+
py312-django{42,51,52}
27+
py313-django{52}
28+
pypy3-django{32,42,51,52}
2829
flake8
2930
apicheck
3031
linkcheck
@@ -40,10 +41,9 @@ deps=
4041
cov: -r{toxinidir}/requirements/test-django.txt
4142

4243
django32: Django ~= 3.2
43-
django41: Django ~= 4.1
4444
django42: Django ~= 4.2
45-
django50: Django ~= 5.0
46-
django51: Django ~= 5.1rc1
45+
django51: Django ~= 5.1
46+
django52: Django ~= 5.2rc1
4747

4848
linkcheck,apicheck: -r{toxinidir}/requirements/docs.txt
4949
flake8,pydocstyle: -r{toxinidir}/requirements/pkgutils.txt
@@ -55,12 +55,12 @@ commands =
5555

5656

5757
[testenv:apicheck]
58-
basepython = python3.8
58+
basepython = python3.9
5959
commands =
6060
sphinx-build -W -b apicheck -d {envtmpdir}/doctrees docs docs/_build/apicheck
6161

6262
[testenv:linkcheck]
63-
basepython = python3.8
63+
basepython = python3.9
6464
commands =
6565
sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees docs docs/_build/linkcheck
6666

0 commit comments

Comments
 (0)