Change tox to just specify python 3, not a specific version
[tox]
-envlist = py38-django{20,21,22,30,31},pypy3-django{22,30}
+envlist = py3-django{20,21,22,30,31},pypy3-django{22,30}
[testenv]
commands = {envpython} -m pytest {posargs}
@@ -28,7 +28,7 @@ passenv = HOME
[testenv:docs]
-basepython = python3.8
+basepython = python3
usedevelop = True
commands =
make -C docs clean
@@ -41,7 +41,7 @@ deps =
[testenv:docs-tests]
-basepython = python3.8
+basepython = python3
usedevelop = True
commands =
python docs/make_docs_test_files.py
@@ -59,7 +59,7 @@ deps =
[testenv:coverage-from-docs]
-basepython = python3.8
+basepython = python3
usedevelop = True
commands =
python docs/make_docs_test_files.py
@@ -78,7 +78,7 @@ deps =
[testenv:coverage]
setenv =
DJANGO_SETTINGS_MODULE=tests.settings
-basepython = python3.8
+basepython = python3
usedevelop = True
commands =
{envpython} -m pytest --cov iommi --cov tests --cov-config .coveragerc {posargs}
@@ -91,7 +91,7 @@ deps =
-rtest_requirements.txt
[testenv:lint]
-basepython = python3.8
+basepython = python3
usedevelop = True
commands =
{envpython} -m flake8 iommi examples setup.py {posargs}
@@ -99,7 +99,7 @@ deps =
-rtest_requirements.txt
[testenv:black]
-basepython = python3.8
+basepython = python3
usedevelop = True
commands =
{envpython} -m black iommi examples setup.py {posargs}
@@ -109,7 +109,7 @@ deps =
[testenv:venv]
envdir = venv
usedevelop = True
-basepython = python3.8
+basepython = python3
commands = {posargs:python --version}
deps =
Django >= 2.2, <2.3
@@ -121,7 +121,7 @@ whitelist_externals =
[testenv:venv_flask]
envdir = venv
usedevelop = True
-basepython = python3.8
+basepython = python3
commands = {posargs:python --version}
deps =
flask
