Skip to content

Commit ddf321f

Browse files
authored
Update Django testing versions (#206)
1 parent e646aaf commit ddf321f

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
fail-fast: false
1111
matrix:
1212
python-version: ['3.8', '3.9', '3.10']
13-
django-version: ['3.2', '4.0', 'main']
13+
django-version: ['3.2', '4.2', 'main']
1414
include:
1515
- python-version: '3.7'
1616
django-version: '3.2'

README.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ provided by this package as drop in replacement for django's
4141
Requirements
4242
============
4343

44-
**django-sortedm2m** runs on Python 3.6+ and Django from 2.1 to 3.0.
44+
**django-sortedm2m** runs on Python 3.6+ and multiple Django versions.
45+
See the ``.github/workflows/test.yml`` configuration for the tested Django versions.
4546

4647
Usage
4748
=====

tox.ini

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[tox]
22
envlist =
33
{py37,py38,py39,py310}-django32-{sqlite3,mysql,postgresql}
4-
{py38,py39,py310}-django{40,main}-{sqlite3,mysql,postgresql}
4+
{py38,py39,py310}-django{42,main}-{sqlite3,mysql,postgresql}
55
quality
66
dist-validation
77
qunit
@@ -16,7 +16,7 @@ python =
1616
[gh-actions:env]
1717
DJANGO =
1818
3.2: django32
19-
4.0: django40
19+
4.2: django42
2020
main: djangomain
2121

2222
[testenv]
@@ -25,7 +25,7 @@ deps =
2525
mysql: mysqlclient
2626
postgresql: psycopg2-binary
2727
django32: Django>=3.2,<3.3
28-
django40: Django>=4.0,<4.1
28+
django42: Django>=4.2,<4.3
2929
djangomain: https://github.com/django/django/archive/main.tar.gz
3030
ignore_outcome =
3131
main: True
@@ -49,7 +49,7 @@ commands =
4949

5050
[testenv:quality]
5151
deps =
52-
Django>=2.2,<3.0
52+
Django>=3.2,<4.0
5353
selenium<4.0
5454
psycopg2-binary
5555
-rrequirements.txt

0 commit comments

Comments
 (0)