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
suggest disabling xdist in internals guide #1122
Conversation
Yeah, I think this is a good idea. Happy to merge this as is, but would you like to change it to just doing this by default instead? |
Yeah, I'll do that. (Mostly opened this PR as a place for discussion about doing that instead.) |
That'll also solve the problem where people don't install xdist, get the error about |
I'm looking into whether there's a way to have If I can't find a way to do that, I think I would need to add |
@dchudz Small Internet, huh? 😉 |
Hah, thanks @alexwlchan! (for anyone wondering, I asked the internet how to do this, and Alex came answering...: https://stackoverflow.com/questions/48856608/set-pytest-arg-for-tox-but-not-direct-pytest) |
Hmm, as an aside, it looks to me like
(I tried and it seems like tests currently don't object to |
Just pushed the settings change to this PR. I checked that e.g. |
Actually I'll replace this with a new PR with a better title / branch name and without the useless commits. |
FYI the |
Came up because of: #1093 (comment)
Or alternatively:
I imagine the default
-n 2
intox.ini
is mostly for CI? If humans mostly want xdist disabled, I wonder about not specifying a default intox.ini
and then doing whatever we need to for CI to still have-n 2
?