-
Notifications
You must be signed in to change notification settings - Fork 234
Cannot run with -p no:tmpdir option #22
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
Hmm this might be fixed already in the features branch, due to fixes in how configuration options are transferred to workers... |
Issue reproduced with @nicoddemus do you have any idea to try by myself in advance? |
Sorry, now that I took a look at the code it's clear that it is a distx bug... Unfortunately there's no workaround, we'll have to work on a fix. Out of curiosity, why are you disabling tmpdir? |
@nicoddemus In my proj, there was an implementation causing error due to conflicts with tmpdir of pytest, but I can't remember the details :-/ I've just checked without tmpdir, however suddenly the issue has gone.... |
You mean re-enabling tmpdir fixed this issue? |
@nicoddemus No. I mean that I don't need to use |
disabling a builtin plugin is bound to give problems. IOW, xdist relies on a builtin plugin which is kind of fine. Maybe someone can check h ow easy it would be to allow xdist to run with no:tmpdir but otherwise i suggest to close the issue. |
That's what I meant by "re-enabling tmpdir". 😁 sorry for not being clearer. @hpk42 I will take a look today, should be simple and I think it's worth it, as the message received by the user is not friendly. |
Awesome. Thanks! |
Fixes pytest-dev#510. Ref: pytest-dev/pytest#6767 Also uses `--basetemp` with `-p no:tmpdir` as a good side effect (ref: pytest-dev#22).
Fixes pytest-dev#510. Ref: pytest-dev/pytest#6767 Also uses `--basetemp` with `-p no:tmpdir` as a good side effect (ref: pytest-dev#22).
Fixes pytest-dev#510. Ref: pytest-dev/pytest#6767 Also uses `--basetemp` with `-p no:tmpdir` as a good side effect (ref: pytest-dev#22).
When I use xdist option with
-p no:tmpdir
also set, it causesAttributeError: 'Config' object has no attribute '_tmpdirhandler'
:System info:
$ sw_vers ProductName: Mac OS X ProductVersion: 10.11 BuildVersion: 15A284 $ pip freeze | grep -i pytest pytest==2.8.3 pytest-cov==2.1.0 pytest-django==2.9.1 pytest-xdist==1.13.1
The text was updated successfully, but these errors were encountered: