diff options
author | Bruno Alla <browniebroke@users.noreply.github.com> | 2021-04-12 21:13:38 +0100 |
---|---|---|
committer | Bruno Alla <browniebroke@users.noreply.github.com> | 2021-04-12 21:13:38 +0100 |
commit | 65a16102cc5d4b27a7200f48728315138b10f153 (patch) | |
tree | f8d4557ff0c3f3196778d41cef6a5a24f4038c29 /tox.ini | |
parent | 4b1b467cf5584e8310fefa7d32d439f6d80b6ef2 (diff) | |
download | django-compressor-65a16102cc5d4b27a7200f48728315138b10f153.tar.gz |
Update Django/Python support
- Add Python 3.9
- Add Django 3.1 and 3.2
However, to achieve that, we also need to:
- Bump django-sekizai to v2 (earlier versions don't support Django 3.1)
- Drop support for Django 1.11 (django-sekizai 2 requires Django 2.2 or higher)
We've passed the end of extended support for Django 1.11 by more than a year (April 1, 2020) so I think it should be ok to make this breaking change.
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -1,14 +1,16 @@ [tox] envlist = - {py35,py36,py37,py38}-1.11.X - {py35,py36,py37,py38}-2.2.X - {py36,py37,py38}-3.0.X + {py35,py36,py37,py38,py39}-2.2.X + {py36,py37,py38,py39}-3.0.X + {py36,py37,py38,py39}-3.1.X + {py36,py37,py38,py39}-3.2.X [testenv] basepython = py35: python3.5 py36: python3.6 py37: python3.7 py38: python3.8 + py39: python3.9 usedevelop = true setenv = CPPFLAGS=-O0 @@ -17,8 +19,9 @@ commands = django-admin.py --version make test deps = - 1.11.X: Django>=1.11,<2.0 2.2.X: Django>=2.2,<2.3 3.0.X: Django>=3.0,<3.1 + 3.1.X: Django>=3.1,<3.2 + 3.2.X: Django>=3.2,<4.0 -r{toxinidir}/requirements/tests.txt django-discover-runner |