{"action":"created","issue":{"url":"https://api.github.com/repos/astropy/astropy/issues/6418","repository_url":"https://api.github.com/repos/astropy/astropy","labels_url":"https://api.github.com/repos/astropy/astropy/issues/6418/labels{/name}","comments_url":"https://api.github.com/repos/astropy/astropy/issues/6418/comments","events_url":"https://api.github.com/repos/astropy/astropy/issues/6418/events","html_url":"https://github.com/astropy/astropy/issues/6418","id":247442601,"number":6418,"title":"Test collecting errors with pytest 3.2.0","user":{"login":"bsipocz","id":6788290,"avatar_url":"https://avatars1.githubusercontent.com/u/6788290?v=4","gravatar_id":"","url":"https://api.github.com/users/bsipocz","html_url":"https://github.com/bsipocz","followers_url":"https://api.github.com/users/bsipocz/followers","following_url":"https://api.github.com/users/bsipocz/following{/other_user}","gists_url":"https://api.github.com/users/bsipocz/gists{/gist_id}","starred_url":"https://api.github.com/users/bsipocz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsipocz/subscriptions","organizations_url":"https://api.github.com/users/bsipocz/orgs","repos_url":"https://api.github.com/users/bsipocz/repos","events_url":"https://api.github.com/users/bsipocz/events{/privacy}","received_events_url":"https://api.github.com/users/bsipocz/received_events","type":"User","site_admin":false},"labels":[{"id":182098,"url":"https://api.github.com/repos/astropy/astropy/labels/testing","name":"testing","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/astropy/astropy/milestones/50","html_url":"https://github.com/astropy/astropy/milestone/50","labels_url":"https://api.github.com/repos/astropy/astropy/milestones/50/labels","id":2667992,"number":50,"title":"v2.0.2","description":null,"creator":{"login":"bsipocz","id":6788290,"avatar_url":"https://avatars1.githubusercontent.com/u/6788290?v=4","gravatar_id":"","url":"https://api.github.com/users/bsipocz","html_url":"https://github.com/bsipocz","followers_url":"https://api.github.com/users/bsipocz/followers","following_url":"https://api.github.com/users/bsipocz/following{/other_user}","gists_url":"https://api.github.com/users/bsipocz/gists{/gist_id}","starred_url":"https://api.github.com/users/bsipocz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsipocz/subscriptions","organizations_url":"https://api.github.com/users/bsipocz/orgs","repos_url":"https://api.github.com/users/bsipocz/repos","events_url":"https://api.github.com/users/bsipocz/events{/privacy}","received_events_url":"https://api.github.com/users/bsipocz/received_events","type":"User","site_admin":false},"open_issues":18,"closed_issues":0,"state":"open","created_at":"2017-07-28T17:31:33Z","updated_at":"2017-08-02T16:08:43Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2017-08-02T16:08:43Z","updated_at":"2017-08-02T18:52:14Z","closed_at":null,"body":"Test collection is failing when using the latest 3.2.0 pytest. Currently it's not yet picked up on either travis or appveyor, but is used on circleCI. Getting a solution is critical, and I'm looking into it now. Alternatively we could limit the pytest version until this is solved.\r\n\r\n```\r\n============================= test session starts ==============================\r\nplatform linux2 -- Python 2.7.6, pytest-3.2.0, py-1.4.34, pluggy-0.4.0\r\n\r\nRunning tests with Astropy version 3.0.dev.\r\nRunning tests in lib.linux-i686-2.7/astropy docs.\r\n\r\nDate: 2017-08-02T01:53:28\r\n\r\nPlatform: Linux-3.13.0-125-generic-i686-with-Ubuntu-14.04-trusty\r\n\r\nExecutable: /usr/bin/python\r\n\r\nFull Python Version: \r\n2.7.6 (default, Oct 26 2016, 20:32:47) \r\n[GCC 4.8.4]\r\n\r\nencodings: sys: ascii, locale: UTF-8, filesystem: UTF-8, unicode bits: 20\r\nbyteorder: little\r\nfloat info: dig: 15, mant_dig: 15\r\n\r\nNumpy: 1.12.1\r\nScipy: not available\r\nMatplotlib: not available\r\nh5py: not available\r\nPandas: not available\r\nCython: 0.25.2\r\nUsing Astropy options: remote_data: none.\r\n\r\nrootdir: /tmp/astropy-test-lYT0mu, inifile: setup.cfg\r\ncollected 12700 items / 4 errors / 35 skipped\r\n\r\n==================================== ERRORS ====================================\r\n ERROR collecting lib.linux-i686-2.7/astropy/coordinates/tests/test_finite_difference_velocities.py \r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/runner.py:191: in __init__\r\n    self.result = func()\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/runner.py:370: in <lambda>\r\n    lambda: list(collector.collect()),\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/python.py:389: in collect\r\n    return super(Module, self).collect()\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/python.py:330: in collect\r\n    res = self.makeitem(name, obj)\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/python.py:342: in makeitem\r\n    collector=self, name=name, obj=obj)\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/vendored_packages/pluggy.py:745: in __call__\r\n    return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/vendored_packages/pluggy.py:339: in _hookexec\r\n    return self._inner_hookexec(hook, methods, kwargs)\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/vendored_packages/pluggy.py:334: in <lambda>\r\n    _MultiCall(methods, kwargs, hook.spec_opts).execute()\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/vendored_packages/pluggy.py:613: in execute\r\n    return _wrapped_call(hook_impl.function(*args), self.execute)\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/vendored_packages/pluggy.py:250: in _wrapped_call\r\n    wrap_controller.send(call_outcome)\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/python.py:188: in pytest_pycollect_makeitem\r\n    res = list(collector._genfunctions(name, obj))\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/python.py:362: in _genfunctions\r\n    self.ihook.pytest_generate_tests(metafunc=metafunc)\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/vendored_packages/pluggy.py:745: in __call__\r\n    return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/vendored_packages/pluggy.py:339: in _hookexec\r\n    return self._inner_hookexec(hook, methods, kwargs)\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/vendored_packages/pluggy.py:334: in <lambda>\r\n    _MultiCall(methods, kwargs, hook.spec_opts).execute()\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/vendored_packages/pluggy.py:614: in execute\r\n    res = hook_impl.function(*args)\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/python.py:113: in pytest_generate_tests\r\n    metafunc.parametrize(*marker.args, **marker.kwargs)\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/python.py:781: in parametrize\r\n    for x in argvalues]\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/mark.py:66: in extract_from\r\n    warnings.warn(MARK_PARAMETERSET_UNPACKING)\r\nE   RemovedInPytest4Warning: Applying marks directly to parameters is deprecated, please use pytest.param(..., marks=...) instead.\r\nE   For more details, see: https://docs.pytest.org/en/latest/parametrize.html\r\n_ ERROR collecting lib.linux-i686-2.7/astropy/io/ascii/tests/test_c_reader.py __\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/runner.py:191: in __init__\r\n    self.result = func()\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/runner.py:370: in <lambda>\r\n    lambda: list(collector.collect()),\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/python.py:389: in collect\r\n    return super(Module, self).collect()\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/python.py:330: in collect\r\n    res = self.makeitem(name, obj)\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/python.py:342: in makeitem\r\n    collector=self, name=name, obj=obj)\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/vendored_packages/pluggy.py:745: in __call__\r\n    return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/vendored_packages/pluggy.py:339: in _hookexec\r\n    return self._inner_hookexec(hook, methods, kwargs)\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/vendored_packages/pluggy.py:334: in <lambda>\r\n    _MultiCall(methods, kwargs, hook.spec_opts).execute()\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/vendored_packages/pluggy.py:613: in execute\r\n    return _wrapped_call(hook_impl.function(*args), self.execute)\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/vendored_packages/pluggy.py:250: in _wrapped_call\r\n    wrap_controller.send(call_outcome)\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/python.py:188: in pytest_pycollect_makeitem\r\n    res = list(collector._genfunctions(name, obj))\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/python.py:362: in _genfunctions\r\n    self.ihook.pytest_generate_tests(metafunc=metafunc)\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/vendored_packages/pluggy.py:745: in __call__\r\n    return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/vendored_packages/pluggy.py:339: in _hookexec\r\n    return self._inner_hookexec(hook, methods, kwargs)\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/vendored_packages/pluggy.py:334: in <lambda>\r\n    _MultiCall(methods, kwargs, hook.spec_opts).execute()\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/vendored_packages/pluggy.py:614: in execute\r\n    res = hook_impl.function(*args)\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/python.py:113: in pytest_generate_tests\r\n    metafunc.parametrize(*marker.args, **marker.kwargs)\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/python.py:781: in parametrize\r\n    for x in argvalues]\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/mark.py:66: in extract_from\r\n    warnings.warn(MARK_PARAMETERSET_UNPACKING)\r\nE   RemovedInPytest4Warning: Applying marks directly to parameters is deprecated, please use pytest.param(..., marks=...) instead.\r\nE   For more details, see: https://docs.pytest.org/en/latest/parametrize.html\r\n_____ ERROR collecting lib.linux-i686-2.7/astropy/utils/tests/test_data.py _____\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/runner.py:191: in __init__\r\n    self.result = func()\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/runner.py:370: in <lambda>\r\n    lambda: list(collector.collect()),\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/python.py:389: in collect\r\n    return super(Module, self).collect()\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/python.py:330: in collect\r\n    res = self.makeitem(name, obj)\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/python.py:342: in makeitem\r\n    collector=self, name=name, obj=obj)\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/vendored_packages/pluggy.py:745: in __call__\r\n    return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/vendored_packages/pluggy.py:339: in _hookexec\r\n    return self._inner_hookexec(hook, methods, kwargs)\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/vendored_packages/pluggy.py:334: in <lambda>\r\n    _MultiCall(methods, kwargs, hook.spec_opts).execute()\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/vendored_packages/pluggy.py:613: in execute\r\n    return _wrapped_call(hook_impl.function(*args), self.execute)\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/vendored_packages/pluggy.py:250: in _wrapped_call\r\n    wrap_controller.send(call_outcome)\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/python.py:188: in pytest_pycollect_makeitem\r\n    res = list(collector._genfunctions(name, obj))\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/python.py:362: in _genfunctions\r\n    self.ihook.pytest_generate_tests(metafunc=metafunc)\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/vendored_packages/pluggy.py:745: in __call__\r\n    return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/vendored_packages/pluggy.py:339: in _hookexec\r\n    return self._inner_hookexec(hook, methods, kwargs)\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/vendored_packages/pluggy.py:334: in <lambda>\r\n    _MultiCall(methods, kwargs, hook.spec_opts).execute()\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/vendored_packages/pluggy.py:614: in execute\r\n    res = hook_impl.function(*args)\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/python.py:113: in pytest_generate_tests\r\n    metafunc.parametrize(*marker.args, **marker.kwargs)\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/python.py:781: in parametrize\r\n    for x in argvalues]\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/mark.py:66: in extract_from\r\n    warnings.warn(MARK_PARAMETERSET_UNPACKING)\r\nE   RemovedInPytest4Warning: Applying marks directly to parameters is deprecated, please use pytest.param(..., marks=...) instead.\r\nE   For more details, see: https://docs.pytest.org/en/latest/parametrize.html\r\n_____ ERROR collecting lib.linux-i686-2.7/astropy/utils/tests/test_data.py _____\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/runner.py:191: in __init__\r\n    self.result = func()\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/runner.py:370: in <lambda>\r\n    lambda: list(collector.collect()),\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/python.py:389: in collect\r\n    return super(Module, self).collect()\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/python.py:330: in collect\r\n    res = self.makeitem(name, obj)\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/python.py:342: in makeitem\r\n    collector=self, name=name, obj=obj)\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/vendored_packages/pluggy.py:745: in __call__\r\n    return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/vendored_packages/pluggy.py:339: in _hookexec\r\n    return self._inner_hookexec(hook, methods, kwargs)\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/vendored_packages/pluggy.py:334: in <lambda>\r\n    _MultiCall(methods, kwargs, hook.spec_opts).execute()\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/vendored_packages/pluggy.py:613: in execute\r\n    return _wrapped_call(hook_impl.function(*args), self.execute)\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/vendored_packages/pluggy.py:250: in _wrapped_call\r\n    wrap_controller.send(call_outcome)\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/python.py:188: in pytest_pycollect_makeitem\r\n    res = list(collector._genfunctions(name, obj))\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/python.py:362: in _genfunctions\r\n    self.ihook.pytest_generate_tests(metafunc=metafunc)\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/vendored_packages/pluggy.py:745: in __call__\r\n    return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/vendored_packages/pluggy.py:339: in _hookexec\r\n    return self._inner_hookexec(hook, methods, kwargs)\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/vendored_packages/pluggy.py:334: in <lambda>\r\n    _MultiCall(methods, kwargs, hook.spec_opts).execute()\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/vendored_packages/pluggy.py:614: in execute\r\n    res = hook_impl.function(*args)\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/python.py:113: in pytest_generate_tests\r\n    metafunc.parametrize(*marker.args, **marker.kwargs)\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/python.py:781: in parametrize\r\n    for x in argvalues]\r\n/usr/local/lib/python2.7/dist-packages/pytest-3.2.0-py2.7.egg/_pytest/mark.py:66: in extract_from\r\n    warnings.warn(MARK_PARAMETERSET_UNPACKING)\r\nE   RemovedInPytest4Warning: Applying marks directly to parameters is deprecated, please use pytest.param(..., marks=...) instead.\r\nE   For more details, see: https://docs.pytest.org/en/latest/parametrize.html\r\n=============================== warnings summary ===============================\r\nNone\r\n  [pytest] section in setup.cfg files is deprecated, use [tool:pytest] instead.\r\n\r\n-- Docs: http://doc.pytest.org/en/latest/warnings.html\r\n!!!!!!!!!!!!!!!!!!! Interrupted: 4 errors during collection !!!!!!!!!!!!!!!!!!!!\r\n=============== 35 skipped, 1 warnings, 4 error in 23.28 seconds ===============\r\n\r\n./.run_docker_tests.sh returned exit code 2\r\n```"},"comment":{"url":"https://api.github.com/repos/astropy/astropy/issues/comments/319764233","html_url":"https://github.com/astropy/astropy/issues/6418#issuecomment-319764233","issue_url":"https://api.github.com/repos/astropy/astropy/issues/6418","id":319764233,"user":{"login":"larrybradley","id":4992897,"avatar_url":"https://avatars2.githubusercontent.com/u/4992897?v=4","gravatar_id":"","url":"https://api.github.com/users/larrybradley","html_url":"https://github.com/larrybradley","followers_url":"https://api.github.com/users/larrybradley/followers","following_url":"https://api.github.com/users/larrybradley/following{/other_user}","gists_url":"https://api.github.com/users/larrybradley/gists{/gist_id}","starred_url":"https://api.github.com/users/larrybradley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/larrybradley/subscriptions","organizations_url":"https://api.github.com/users/larrybradley/orgs","repos_url":"https://api.github.com/users/larrybradley/repos","events_url":"https://api.github.com/users/larrybradley/events{/privacy}","received_events_url":"https://api.github.com/users/larrybradley/received_events","type":"User","site_admin":false},"created_at":"2017-08-02T18:52:14Z","updated_at":"2017-08-02T18:52:14Z","body":"Thanks, @bsipocz.  I started working on this exact same thing this morning, but got interrupted by meetings."}}
{"actor":{"display_login":"larrybradley"}}