tox-dev / tox-conda

Make tox cooperate with conda envs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tox-conda doesn't respect tox verbosity

mparry opened this issue · comments

If I write tox -vv -e test with some conda_deps configured then I would expect this part from the tox docs to apply:

-vv mode turns off output redirection for package installation

It doesn't; the conda or mamba output goes to a log regardless:

$ /opt/conda/bin/mamba install --quiet --yes -p test python=3.7 mypy >test/log/test-1.log

I believe this is because the calls to venv._pcall() are not specifying a parameter along the lines of

redirect=reporter.verbosity() < reporter.Verbosity.DEBUG

as tox.venv.run_install_command() does, for example.

Is this deliberate? If not, I could provide a PR so that tox-conda also sets that parameter.

I do not think this is deliberate, so feel free to provide a PR! 😃