diff --git a/tox.ini b/tox.ini index be0d7ee301c..f0cfaa460fb 100644 --- a/tox.ini +++ b/tox.ini @@ -85,6 +85,9 @@ commands = changedir = doc/en basepython = python3 passenv = SETUPTOOLS_SCM_PRETEND_VERSION +# TODO: When setuptools-scm 5.0.0 is released, use SETUPTOOLS_SCM_PRETEND_VERSION_FOR_PYTEST +# and remove the next line. +install_command=python -m pip --use-deprecated=legacy-resolver install {opts} {packages} deps = dataclasses PyYAML