tox-pyenv icon indicating copy to clipboard operation
tox-pyenv copied to clipboard

`tox_pyenv_fallback` in testenv definition is not honored

Open Jmennius opened this issue 4 years ago • 1 comments

Set tox_pyenv_fallback in general testenv definition and test with tox --showconfig.

Setting tox_pyenv_fallback to both true or false results in tox_pyenv_fallback = True output from tox --showconfig. Providing --tox-pyenv-no-fallback on the command line allows testenv definition tox_pyenv_fallback to take control...

Jmennius avatar Dec 16 '20 13:12 Jmennius

Just for reference

https://github.com/tox-dev/tox/blob/master/src/tox/session/commands/show_config.py

I am assuming that the code which executes for --showconfig should interpret the values set in tox.ini and not only config values defined by environment variables?

Providing --tox-pyenv-no-fallback on the command line allows testenv definition tox_pyenv_fallback to take control...

It has been a minute since I looked at the code here. Can you help me understand more? I am not sure I follow entirely. More details would help and precise instructions for reproducing.

stavxyz avatar Dec 23 '20 16:12 stavxyz