diff --git a/tox.ini b/tox.ini index e752e21a..abe206c2 100644 --- a/tox.ini +++ b/tox.ini @@ -190,6 +190,7 @@ commands = {[testenv]commands} [testenv:docs] basepython = python3 +install_command = pip install -U {opts} {packages} deps = -r{toxinidir}/doc/requirements.txt commands = rm -rf doc/build @@ -198,6 +199,7 @@ allowlist_externals = rm [testenv:releasenotes] basepython = python3 +install_command = pip install -U {opts} {packages} deps = -r{toxinidir}/doc/requirements.txt commands = rm -rf releasenotes/build @@ -210,11 +212,13 @@ allowlist_externals = basepython = python3 # Re-use the releasenotes venv envdir = {toxworkdir}/releasenotes +install_command = pip install -U {opts} {packages} deps = -r{toxinidir}/doc/requirements.txt commands = reno new {posargs} [testenv:api-ref] basepython = python3 +install_command = pip install -U {opts} {packages} deps = -r{toxinidir}/doc/requirements.txt commands =