-
-
Notifications
You must be signed in to change notification settings - Fork 533
tox4: materialising a set_env may depend on set_env #1776
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks for reporting. There's some fancy circular env-var dependency in here https://github.com/pytest-dev/pytest/blob/f6529fd3a14dc99939a372352652b443eaf38962/tox.ini#L21-L42, probably a bug in our env-var/pos-args manifestation. Will look into it 👏 |
I think this is the part due to #1779, in short: the set_env only influences what arguments you pass into the command, but the |
Thanks!
Do you mean in our |
Within tox 4 |
It so seems I've not accounted for the possibility of PS. #1779 is part of the reason, but things go deeper. |
Resolved via #1784 |
Thanks for the ping @gaborbernat, I can confirm that it now works as expected. |
Hi,
Just tried the new
4.0.0a2
of tox on pytest's repository (congrats on the rewrite!).I tried
py36-xdist
environment, however the command executed was justpytest
, rather than the expectedpytest -n auto
.On
tox==3.21.0
, I get:Other than that it seems to work fine.
I used pytest-dev/pytest@f6529fd.
Let me know if I can provide more information.
The text was updated successfully, but these errors were encountered: