diff options
author | Stephen Finucane <stephen@that.guru> | 2020-04-08 21:57:59 +0100 |
---|---|---|
committer | Stephen Finucane <stephen@that.guru> | 2020-04-08 23:30:39 +0100 |
commit | dc9c4fe12c1af3efe578e2ac428aed01969bf95b (patch) | |
tree | 4f9aee3b5b6a636159707ac518143e821f6efddb /tox.ini | |
parent | 5b998c91ff7b9e54c57f5bdc76003879a7156ab3 (diff) | |
download | patchwork-dc9c4fe12c1af3efe578e2ac428aed01969bf95b.tar patchwork-dc9c4fe12c1af3efe578e2ac428aed01969bf95b.tar.gz |
tox: Drop support for Django < 2.2, Python < 3.6
Each of these versions of Django is now EOL, and Python 3.5 will be EOL
by time we release the next version. Drop it.
The Python 2.7 cleanup will be done separately.
Signed-off-by: Stephen Finucane <stephen@that.guru>
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 19 |
1 files changed, 4 insertions, 15 deletions
@@ -1,6 +1,6 @@ [tox] minversion = 3.2 -envlist = pep8,docs,py27-django111,py{35,36,37,38}-django{111,20,21,22} +envlist = pep8,docs,py{36,37,38}-django{22} skipsdist = true ignore_basepython_conflict = true @@ -8,25 +8,14 @@ ignore_basepython_conflict = true basepython = python3 deps = -r{toxinidir}/requirements-test.txt - django111: django>=1.11,<2.0 - django111: djangorestframework>=3.6,<3.12; python_version >= '3.5' - django111: djangorestframework>=3.6,<3.10; python_version < '3.0' - django111: django-filter>=1.0,<3.0; python_version >= '3.5' - django111: django-filter>=1.0,<2.0; python_version < '3.0' - django20: django>=2.0,<2.1 - django21: django>=2.1,<2.2 - django{20,21}: djangorestframework>=3.7,<3.12 - django{20,21}: django-filter>=2.0,<3.0 django22: django>=2.2,<2.3 django22: djangorestframework>=3.10,<3.12 django22: django-filter>=2.1,<3.0 setenv = DJANGO_SETTINGS_MODULE = patchwork.settings.dev PYTHONDONTWRITEBYTECODE = 1 - DJANGO_LIVE_TEST_SERVER_ADDRESS = localhost:9000-9200 - py27: PYTHONWARNINGS = once - py{34,36}:PYTHONWARNINGS = once,ignore::ImportWarning:backports - py35:PYTHONWARNINGS = once,ignore::ResourceWarning:unittest.suite,ignore::ImportWarning:backports + py36: PYTHONWARNINGS = once,ignore::ResourceWarning:unittest.suite,ignore::ImportWarning:backports + py{37,38}: PYTHONWARNINGS = once passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY PW_TEST_DB_TYPE PW_TEST_DB_USER PW_TEST_DB_PASS PW_TEST_DB_HOST @@ -84,4 +73,4 @@ commands = [travis] python = - 2.7: py27, pep8, coverage + 3.6: py36, pep8, coverage |