{"action":"created","issue":{"url":"https://api.github.com/repos/simplegeo/setuptools-trial/issues/1","repository_url":"https://api.github.com/repos/simplegeo/setuptools-trial","labels_url":"https://api.github.com/repos/simplegeo/setuptools-trial/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/simplegeo/setuptools-trial/issues/1/comments","events_url":"https://api.github.com/repos/simplegeo/setuptools-trial/issues/1/events","html_url":"https://github.com/simplegeo/setuptools-trial/pull/1","id":136204488,"number":1,"title":"fix working with recent setuptools","user":{"login":"rutsky","id":46573,"avatar_url":"https://avatars.githubusercontent.com/u/46573?v=3","gravatar_id":"","url":"https://api.github.com/users/rutsky","html_url":"https://github.com/rutsky","followers_url":"https://api.github.com/users/rutsky/followers","following_url":"https://api.github.com/users/rutsky/following{/other_user}","gists_url":"https://api.github.com/users/rutsky/gists{/gist_id}","starred_url":"https://api.github.com/users/rutsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rutsky/subscriptions","organizations_url":"https://api.github.com/users/rutsky/orgs","repos_url":"https://api.github.com/users/rutsky/repos","events_url":"https://api.github.com/users/rutsky/events{/privacy}","received_events_url":"https://api.github.com/users/rutsky/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-24T22:19:54Z","updated_at":"2016-03-21T03:38:41Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/simplegeo/setuptools-trial/pulls/1","html_url":"https://github.com/simplegeo/setuptools-trial/pull/1","diff_url":"https://github.com/simplegeo/setuptools-trial/pull/1.diff","patch_url":"https://github.com/simplegeo/setuptools-trial/pull/1.patch"},"body":"Looks like `setuptools` expect that `self.test_args` is a list: \r\nit generates debug message in `test.run()` by appending it to other list:\r\n\r\n```\r\n    def run(self):\r\n        ...\r\n\r\n        cmd = ' '.join(self._argv)\r\n        if self.dry_run:\r\n            self.announce('skipping \"%s\" (dry run)' % cmd)\r\n        else:\r\n            self.announce('running \"%s\"' % cmd)\r\n            self.with_project_on_sys_path(self.run_tests)\r\n\r\n...\r\n\r\n    @property\r\n    def _argv(self):\r\n        return ['unittest'] + self.test_args\r\n```\r\n\r\nwhich fails with the following exception:\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"setup.py\", line 154, in <module>\r\n    setup(**setup_args)\r\n  File \"/usr/lib/python2.7/distutils/core.py\", line 151, in setup\r\n    dist.run_commands()\r\n  File \"/usr/lib/python2.7/distutils/dist.py\", line 953, in run_commands\r\n    self.run_command(cmd)\r\n  File \"/usr/lib/python2.7/distutils/dist.py\", line 972, in run_command\r\n    cmd_obj.run()\r\n  File \"/home/bob/stuff/buildbot/env-setuptools/local/lib/python2.7/site-packages/setuptools/command/test.py\", line 154, in run\r\n    cmd = ' '.join(self._argv)\r\n  File \"/home/bob/stuff/buildbot/env-setuptools/local/lib/python2.7/site-packages/setuptools/command/test.py\", line 185, in _argv\r\n    return ['unittest'] + self.test_args\r\nTypeError: can only concatenate list (not \"str\") to list\r\n```\r\n\r\nTested with `setuptools==20.1.1`.\r\n`self.test_args` is converted to list of strings in setuptools_trial's `run_tests()` anyway, so nothing should break."},"comment":{"url":"https://api.github.com/repos/simplegeo/setuptools-trial/issues/comments/199098571","html_url":"https://github.com/simplegeo/setuptools-trial/pull/1#issuecomment-199098571","issue_url":"https://api.github.com/repos/simplegeo/setuptools-trial/issues/1","id":199098571,"user":{"login":"rutsky","id":46573,"avatar_url":"https://avatars.githubusercontent.com/u/46573?v=3","gravatar_id":"","url":"https://api.github.com/users/rutsky","html_url":"https://github.com/rutsky","followers_url":"https://api.github.com/users/rutsky/followers","following_url":"https://api.github.com/users/rutsky/following{/other_user}","gists_url":"https://api.github.com/users/rutsky/gists{/gist_id}","starred_url":"https://api.github.com/users/rutsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rutsky/subscriptions","organizations_url":"https://api.github.com/users/rutsky/orgs","repos_url":"https://api.github.com/users/rutsky/repos","events_url":"https://api.github.com/users/rutsky/events{/privacy}","received_events_url":"https://api.github.com/users/rutsky/received_events","type":"User","site_admin":false},"created_at":"2016-03-21T03:38:40Z","updated_at":"2016-03-21T03:38:40Z","body":"Fixed in 0.6.0 release: https://github.com/rutsky/setuptools-trial"}}