Skip to content

Commit 323c3cb

Browse files
committed
Drop support for python 3.6, django <3.2, official support for django 4.1 and python 3.10
1 parent 63c997d commit 323c3cb

File tree

3 files changed

+7
-55
lines changed

3 files changed

+7
-55
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414
strategy:
1515
matrix:
1616
python-version:
17-
- '3.6'
1817
- '3.7'
1918
- '3.8'
2019
- '3.9'
20+
- '3.10'
2121
concurrency:
2222
group: ${{ github.workflow }}-${{ github.ref }}
2323
steps:

runtests.py

Lines changed: 0 additions & 44 deletions
This file was deleted.

tox.ini

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,9 @@
55

66
[tox]
77
envlist =
8-
{py36,py37,py38,py39}-django-22
9-
{py36,py37,py38,py39}-django-30
10-
{py36,py37,py38,py39}-django-31
11-
; {py36,py37,py38,py39}-django-32
12-
; {py36,py37,py38,py39}-django-master
8+
{py37,py38,py39,py310}-django-32
9+
{py38,py39,py310}-django-41
10+
; {py37,py38,py39,py310}-django-master
1311

1412

1513
[testenv]
@@ -18,17 +16,15 @@ setenv =
1816
PYTHONPATH = {toxinidir}
1917
commands = pytest --cov=dynamic_preferences {posargs}
2018
deps =
21-
django-{22,30,31,master}: djangorestframework>=3.12,<3.13
22-
django-22: Django>=2.2,<2.3
23-
django-30: Django>=3.0,<3.1
24-
django-31: Django>=3.1,<3.2
19+
django-{32,41,master}: djangorestframework>=3.13,<4
2520
django-32: Django>=3.2,<3.3
21+
django-41: Django>=4.1,<4.2
2622
django-master: https://github.com/django/django/archive/master.tar.gz
2723
-r{toxinidir}/requirements-test.txt
2824

2925

3026
basepython =
27+
py310: python3.10
3128
py39: python3.9
3229
py38: python3.8
3330
py37: python3.7
34-
py36: python3.6

0 commit comments

Comments
 (0)