Skip to content

Commit 81a864a

Browse files
committed
Drop py36 support and add Django 5.x support
1 parent 6859c39 commit 81a864a

File tree

2 files changed

+24
-11
lines changed

2 files changed

+24
-11
lines changed

.github/workflows/tests.yml

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,21 @@ on:
88

99
jobs:
1010
test:
11-
runs-on: ${{ matrix.os || 'ubuntu-latest' }}
11+
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
1414
include:
15-
- python: "3.6"
16-
env: py36-django21
17-
os: ubuntu-20.04 # 3.6 is not available on ubuntu-20.04
15+
- python: "3.7"
16+
env: py37-django21
1817
- python: "3.8"
1918
env: py38-django21
2019
- python: "3.9"
2120
env: py39-django21
2221

23-
- python: "3.6"
24-
env: py36-django32
25-
os: ubuntu-20.04 # 3.6 is not available on ubuntu-20.04
2622
- python: "3.8"
2723
env: py38-django32
24+
- python: "3.9"
25+
env: py39-django32
2826
- python: "3.10"
2927
env: py310-django32
3028

@@ -49,6 +47,20 @@ jobs:
4947
- python: "3.11"
5048
env: py311-django42
5149

50+
- python: "3.9"
51+
env: py39-django51
52+
- python: "3.10"
53+
env: py310-django51
54+
- python: "3.11"
55+
env: py311-django51
56+
57+
- python: "3.9"
58+
env: py39-django52
59+
- python: "3.10"
60+
env: py310-django52
61+
- python: "3.11"
62+
env: py311-django52
63+
5264
steps:
5365
- uses: actions/checkout@v2
5466
- name: Set up Python ${{ matrix.python }}

tox.ini

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
[tox]
22
envlist =
3-
py{36,38,39}-django21
4-
py{36,38,310}-django32
3+
py{37,38,39}-django21
4+
py{38,39,310}-django32
55
py{38,39,310}-django40
66
py{39,310,311}-django{41,42}
7-
py{310,311}-djangomain
7+
py{39,310,311}-django{51,52}
88

99
[testenv]
1010
deps =
11-
djangomain: https://github.com/django/django/tarball/main
11+
django52: django>=5.2
12+
django51: django<5.2
1213
django42: django<4.3
1314
django41: django<4.2
1415
django40: django<4.1

0 commit comments

Comments
 (0)