Skip to content
This repository has been archived by the owner on Jul 14, 2023. It is now read-only.

tox_pyenv_fallback in testenv definition is not honored #19

Open
Jmennius opened this issue Dec 16, 2020 · 1 comment
Open

tox_pyenv_fallback in testenv definition is not honored #19

Jmennius opened this issue Dec 16, 2020 · 1 comment

Comments

@Jmennius
Copy link

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...

@stavxyz
Copy link
Collaborator

stavxyz commented Dec 23, 2020

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants