Skip to content

Commit 9297e24

Browse files
stefanfoulisjuanifioren
authored andcommitted
Add Django 5.2 to our test matrix
* remove non-LTS versions (4.0, 4.1, 5.0, 5.1) * github test matrix: explicitly fail if the tested python version is not available
1 parent 2bc44e4 commit 9297e24

File tree

2 files changed

+9
-12
lines changed

2 files changed

+9
-12
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,4 @@ jobs:
5858
with:
5959
python-version: ${{ matrix.python }}
6060
- name: Run tox
61-
run: tox run -e py$(echo "${{ matrix.python }}" | tr -d '.')-django$(echo "${{ matrix.django }}" | tr -d '.')
61+
run: tox run --skip-missing-interpreters=false -e py$(echo "${{ matrix.python }}" | tr -d '.')-django$(echo "${{ matrix.django }}" | tr -d '.')

tox.ini

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,21 @@
11
[tox]
22
envlist=
33
docs,
4-
py38-django{32,40,41,42},
5-
py39-django{32,40,41,42},
6-
py310-django{32,40,41,42,50,51},
7-
py311-django{41,42,50,51},
8-
py312-django{41,42,50,51},
9-
py313-django{41,42,50,51},
4+
py38-django{32,42},
5+
py39-django{32,42},
6+
py310-django{32,42,52},
7+
py311-django{42,52},
8+
py312-django{42,52},
9+
py313-django{42,52},
1010
ruff
1111

1212
[testenv]
1313
changedir=
1414
oidc_provider
1515
deps =
1616
django32: django>=3.2,<3.3
17-
django40: django>=4.0,<4.1
18-
django41: django>=4.1,<4.2
1917
django42: django>=4.2,<4.3
20-
django50: django>=5.0,<5.1
21-
django51: django>=5.1,<5.2
18+
django52: django>=5.2,<5.3
2219
freezegun
2320
psycopg2-binary
2421
pytest
@@ -50,4 +47,4 @@ commands =
5047

5148
[pytest]
5249
DJANGO_SETTINGS_MODULE = oidc_provider.tests.settings
53-
python_files = test_*.py
50+
python_files = test_*.py

0 commit comments

Comments
 (0)