From ddf321fc9736b9a9477d496c60250270111cf2ce Mon Sep 17 00:00:00 2001 From: Alan Rominger Date: Thu, 4 May 2023 12:21:04 -0400 Subject: [PATCH] Update Django testing versions (#206) --- .github/workflows/test.yml | 2 +- README.rst | 3 ++- tox.ini | 8 ++++---- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6c8b71a..b5a371d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,7 +10,7 @@ jobs: fail-fast: false matrix: python-version: ['3.8', '3.9', '3.10'] - django-version: ['3.2', '4.0', 'main'] + django-version: ['3.2', '4.2', 'main'] include: - python-version: '3.7' django-version: '3.2' diff --git a/README.rst b/README.rst index 8cda160..bda594b 100644 --- a/README.rst +++ b/README.rst @@ -41,7 +41,8 @@ provided by this package as drop in replacement for django's Requirements ============ -**django-sortedm2m** runs on Python 3.6+ and Django from 2.1 to 3.0. +**django-sortedm2m** runs on Python 3.6+ and multiple Django versions. +See the ``.github/workflows/test.yml`` configuration for the tested Django versions. Usage ===== diff --git a/tox.ini b/tox.ini index dbd9e20..b4a1dc2 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,7 @@ [tox] envlist = {py37,py38,py39,py310}-django32-{sqlite3,mysql,postgresql} - {py38,py39,py310}-django{40,main}-{sqlite3,mysql,postgresql} + {py38,py39,py310}-django{42,main}-{sqlite3,mysql,postgresql} quality dist-validation qunit @@ -16,7 +16,7 @@ python = [gh-actions:env] DJANGO = 3.2: django32 - 4.0: django40 + 4.2: django42 main: djangomain [testenv] @@ -25,7 +25,7 @@ deps = mysql: mysqlclient postgresql: psycopg2-binary django32: Django>=3.2,<3.3 - django40: Django>=4.0,<4.1 + django42: Django>=4.2,<4.3 djangomain: https://github.com/django/django/archive/main.tar.gz ignore_outcome = main: True @@ -49,7 +49,7 @@ commands = [testenv:quality] deps = - Django>=2.2,<3.0 + Django>=3.2,<4.0 selenium<4.0 psycopg2-binary -rrequirements.txt