-
-
Notifications
You must be signed in to change notification settings - Fork 526
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
[parallel] .tox/log already exists #1137
Comments
if you switch to isolated build (which is highly recommend) you might avoid this, in general case we need to hold a lock when writing to these logs but that's tbd |
By "isolated build" you mean "not using --parallel at all"? |
@JulienPalard no that's something different, it refers to the build stage, not the execution stage. See: https://tox.readthedocs.io/en/latest/example/package.html?highlight=isolated#setuptools |
At first glance I don't really get what it's doing. It looks like by default tox is using setuptools, but if I add a |
I mean this is a bug anyway (so marked it accordinlgy now), but activating isolated build together with parallel run should work around it. Can you try like it is described in the docs and let us know if it works? If the docs are unclear there and you are confused, that is also a chance for us to improve them. Thanks! |
OK for the workaround thing :) For the moment this is probably fixing the ".tox/log already exists", at least, it didn't happened again after a few tests, but can't say for sure as it was not happening often. |
What's not clear in the doc for me it's why "isolated_build = True" forces me to use a |
I actually tracked down (and fixed) this yesterday as part of #998. Will open a PR within the next week or so. @JulienPalard |
Maybe I'm just a big hater of having so many configuration files but that's a whole other story :] thanks for the great clarification and fast response \o/ \o/ and fixing the issue \o/ and finding a workaround \o/ \o/ Have a good day! :) |
I tend to agreee, but I think we might need to explain a bit better, what this PEP517/518 shift means and why we enforce it in tox like we do it - openend #1141 for that. |
yes ... but ... this is the standard that will end all other standards!1!! |
@gaborbernat do you know if #1145 had an impact on this issue? |
Yeah, this should be fixed now. We'll have to do a release, however due to extensive overhaul of the session package some of our plugins may broke, so I want to set up some integration test first 👍to avoid this |
It turned out that the fix had a bug, #1186 fixes it entirely now. |
Related to #641, there is even this actual issue described in it:
just happened to me with tox 3.7.0:
The text was updated successfully, but these errors were encountered: