{"action":"created","issue":{"url":"https://api.github.com/repos/pytest-dev/pytest-xdist/issues/90","repository_url":"https://api.github.com/repos/pytest-dev/pytest-xdist","labels_url":"https://api.github.com/repos/pytest-dev/pytest-xdist/issues/90/labels{/name}","comments_url":"https://api.github.com/repos/pytest-dev/pytest-xdist/issues/90/comments","events_url":"https://api.github.com/repos/pytest-dev/pytest-xdist/issues/90/events","html_url":"https://github.com/pytest-dev/pytest-xdist/issues/90","id":181022956,"number":90,"title":"xdist seems to be incompatible with the 'sure' matcher library","user":{"login":"rogueleaderr","id":1051233,"avatar_url":"https://avatars.githubusercontent.com/u/1051233?v=3","gravatar_id":"","url":"https://api.github.com/users/rogueleaderr","html_url":"https://github.com/rogueleaderr","followers_url":"https://api.github.com/users/rogueleaderr/followers","following_url":"https://api.github.com/users/rogueleaderr/following{/other_user}","gists_url":"https://api.github.com/users/rogueleaderr/gists{/gist_id}","starred_url":"https://api.github.com/users/rogueleaderr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rogueleaderr/subscriptions","organizations_url":"https://api.github.com/users/rogueleaderr/orgs","repos_url":"https://api.github.com/users/rogueleaderr/repos","events_url":"https://api.github.com/users/rogueleaderr/events{/privacy}","received_events_url":"https://api.github.com/users/rogueleaderr/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-04T22:37:47Z","updated_at":"2017-02-10T19:58:14Z","closed_at":"2017-02-10T19:58:14Z","body":"I'm using pytest (v 3.0.3) for a project and my tests are running slow so I wanted to try speeding them up with xdist (v.1.15). I'm using Python 3.5.2.\n\nWhen I run\n\n`python -m pytest -n 1 test --max-slave-restart=0`\n\nThe slave crashes with this error:\n\n```\n File \"/Users/gjlondon/anaconda/envs/falcon_spike/lib/python3.5/site-packages/xdist/slavemanage.py\", line 308, in process_from_remote\n    rep = unserialize_report(eventname, kwargs['data'])\n  File \"/Users/gjlondon/anaconda/envs/falcon_spike/lib/python3.5/site-packages/xdist/slavemanage.py\", line 327, in unserialize_report\n    return runner.TestReport(**reportdict)\nTypeError: __init__() missing 1 required positional argument: 'when'\n```\n\nI started creating a minimal failing example project and everything worked, until I installed and included the matcher library I'm using, which is called [sure](https://github.com/gabrielfalcao/sure).\n\nI'm not sure why the failure is happening (I know sure does a lot monkey patching magic, but it's a pretty useful library for creating human-readable tests). But the crash seems to happen in xdist code so I figured I'd post the issue here. I'd really like to use xdist but I've probably got too much `sure` code in my tests to remove 😢 \n\nHere's a link to a minimal failing example: https://github.com/rogueleaderr/xdist_sure\n"},"comment":{"url":"https://api.github.com/repos/pytest-dev/pytest-xdist/issues/comments/279050520","html_url":"https://github.com/pytest-dev/pytest-xdist/issues/90#issuecomment-279050520","issue_url":"https://api.github.com/repos/pytest-dev/pytest-xdist/issues/90","id":279050520,"user":{"login":"nicoddemus","id":1085180,"avatar_url":"https://avatars.githubusercontent.com/u/1085180?v=3","gravatar_id":"","url":"https://api.github.com/users/nicoddemus","html_url":"https://github.com/nicoddemus","followers_url":"https://api.github.com/users/nicoddemus/followers","following_url":"https://api.github.com/users/nicoddemus/following{/other_user}","gists_url":"https://api.github.com/users/nicoddemus/gists{/gist_id}","starred_url":"https://api.github.com/users/nicoddemus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicoddemus/subscriptions","organizations_url":"https://api.github.com/users/nicoddemus/orgs","repos_url":"https://api.github.com/users/nicoddemus/repos","events_url":"https://api.github.com/users/nicoddemus/events{/privacy}","received_events_url":"https://api.github.com/users/nicoddemus/received_events","type":"User","site_admin":false},"created_at":"2017-02-10T19:58:14Z","updated_at":"2017-02-10T19:58:14Z","body":"Many thanks @timofurrer for letting us know! \r\n\r\nI'm closing this issue then."}}
{"actor":{"display_login":"nicoddemus"}}