Using tox 3.7.0-2 I get an error
WARNING: test command found but not installed in testenv
cmd: /usr/bin/make
env: /builds/common/doc/docs-create/.tox/docs
Maybe you forgot to specify a dependency? See also the whitelist_externals envconfig setting.
But in the tox.ini
file I have the following declaration:
[testenv:docs]
deps =
setuptools
gitpython
click
commands =
make clean
make html SPHINXOPTS="-v"
allowlist_externals =
make
which seems to "allow" the external make
. So what is the problem here?
You are using a super outdated version of tox
.
With this old version you need to use...
whitelist_externals = make
in your configuration file.
The solution is also suggested in the error message.
For more information see https://tox.wiki/en/latest/changelog.html?highlight=whitelist#deprecations-removal-in-next-major-release