Skip to content

Commit e7a162b

Browse files
authored
update python and django versions (#471)
* update python and django versions * update python and django versions * added missing psycopg dependency
1 parent f57dbcf commit e7a162b

File tree

5 files changed

+13
-18
lines changed

5 files changed

+13
-18
lines changed

.github/workflows/test.yaml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,29 +13,23 @@ jobs:
1313
runs-on: blacksmith-4vcpu-ubuntu-2204
1414
strategy:
1515
matrix:
16-
python-version: [ "3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "pypy3.9" ]
17-
django: [ "32", "42", "50", "51" ]
16+
python-version: [ "3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "pypy3.10" ]
17+
django: [ "32", "42", "51", "52" ]
1818
exclude:
1919
- python-version: "3.13"
2020
django: "32"
2121
- python-version: "3.13"
2222
django: "42"
23-
- python-version: "3.13"
24-
django: "50"
2523
- python-version: "3.11"
2624
django: "32"
2725
- python-version: "3.8"
28-
django: "50"
26+
django: "52"
2927
- python-version: "3.9"
30-
django: "50"
31-
- python-version: "pypy3.9"
32-
django: "50"
28+
django: "52"
3329
- python-version: "3.8"
3430
django: "51"
3531
- python-version: "3.9"
3632
django: "51"
37-
- python-version: "pypy3.9"
38-
django: "51"
3933
- python-version: "3.12"
4034
django: "32"
4135

requirements/test-django40.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

requirements/test-django52.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
django>=5.2rc1,<6.0

requirements/test.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ pytest-django>=4.5.2
33
pytest-benchmark
44
pytz
55
psycopg2cffi
6+
psycopg

tox.ini

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[tox]
22
envlist =
3-
py313-django{51}
4-
py312-django{51,50,42}
5-
py311-django{51,50,42}
6-
py310-django{51,50,42,32}
3+
py313-django{51,52}
4+
py312-django{51,52,42}
5+
py311-django{51,52,42}
6+
py310-django{51,52,42,32}
77
py39-django{42,32}
88
py38-django{42,32}
9-
pypy39-django{42,32}
9+
pypy310-django{42,32,52}
1010

1111
flake8
1212
apicheck
@@ -20,19 +20,19 @@ DJANGO =
2020
4.2: django42
2121
5.0: django50
2222
5.1: django51
23+
5.2: django52
2324

2425
[testenv]
2526
deps=
2627
-r{toxinidir}/requirements/default.txt
2728
-r{toxinidir}/requirements/test.txt
2829
-r{toxinidir}/requirements/test-ci.txt
2930

30-
django41: -r{toxinidir}/requirements/test-django41.txt
31-
django40: -r{toxinidir}/requirements/test-django40.txt
3231
django32: -r{toxinidir}/requirements/test-django32.txt
3332
django42: -r{toxinidir}/requirements/test-django42.txt
3433
django50: -r{toxinidir}/requirements/test-django50.txt
3534
django51: -r{toxinidir}/requirements/test-django51.txt
35+
django52: -r{toxinidir}/requirements/test-django52.txt
3636

3737
cov,integration: -r{toxinidir}/requirements/test-django.txt
3838

0 commit comments

Comments
 (0)