diff --git a/tox.ini b/tox.ini index 4ec3e9e1..9f9da7e1 100644 --- a/tox.ini +++ b/tox.ini @@ -9,7 +9,6 @@ setenv = all: DJANGO_SETTINGS_MODULE = tests.settings_all core: DJANGO_SETTINGS_MODULE = tests.settings_core basepython = - py37: python3.7 py38: python3.8 py39: python3.9 py310: python3.10 @@ -26,7 +25,8 @@ commands = [testenv:docs] description = invoke sphinx-build to build the HTML docs basepython = python3.9 +skip_install = True deps = -r{toxinidir}/docs/requirements.txt -install_command = +install_command = python -I -m pip install {opts} {packages} commands = sphinx-build -T -E -b html -d "{toxworkdir}/docs_doctree" -D language=en docs "{toxworkdir}/docs_out" {posargs}