{"action":"created","issue":{"url":"https://api.github.com/repos/astropy/astropy/issues/4380","labels_url":"https://api.github.com/repos/astropy/astropy/issues/4380/labels{/name}","comments_url":"https://api.github.com/repos/astropy/astropy/issues/4380/comments","events_url":"https://api.github.com/repos/astropy/astropy/issues/4380/events","html_url":"https://github.com/astropy/astropy/pull/4380","id":120985727,"number":4380,"title":"module pandas has no attribute 'compat'","user":{"login":"astrofrog","id":314716,"avatar_url":"https://avatars.githubusercontent.com/u/314716?v=3","gravatar_id":"","url":"https://api.github.com/users/astrofrog","html_url":"https://github.com/astrofrog","followers_url":"https://api.github.com/users/astrofrog/followers","following_url":"https://api.github.com/users/astrofrog/following{/other_user}","gists_url":"https://api.github.com/users/astrofrog/gists{/gist_id}","starred_url":"https://api.github.com/users/astrofrog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astrofrog/subscriptions","organizations_url":"https://api.github.com/users/astrofrog/orgs","repos_url":"https://api.github.com/users/astrofrog/repos","events_url":"https://api.github.com/users/astrofrog/events{/privacy}","received_events_url":"https://api.github.com/users/astrofrog/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/astropy/astropy/labels/Affects-dev","name":"Affects-dev","color":"eb6420"},{"url":"https://api.github.com/repos/astropy/astropy/labels/table","name":"table","color":"c7def8"},{"url":"https://api.github.com/repos/astropy/astropy/labels/testing","name":"testing","color":"d4c5f9"},{"url":"https://api.github.com/repos/astropy/astropy/labels/Upstream%20Fix%20Required","name":"Upstream Fix Required","color":"444444"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/astropy/astropy/milestones/20","html_url":"https://github.com/astropy/astropy/milestones/v1.1.0","labels_url":"https://api.github.com/repos/astropy/astropy/milestones/20/labels","id":907426,"number":20,"title":"v1.1.0","description":"","creator":{"login":"eteq","id":346587,"avatar_url":"https://avatars.githubusercontent.com/u/346587?v=3","gravatar_id":"","url":"https://api.github.com/users/eteq","html_url":"https://github.com/eteq","followers_url":"https://api.github.com/users/eteq/followers","following_url":"https://api.github.com/users/eteq/following{/other_user}","gists_url":"https://api.github.com/users/eteq/gists{/gist_id}","starred_url":"https://api.github.com/users/eteq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eteq/subscriptions","organizations_url":"https://api.github.com/users/eteq/orgs","repos_url":"https://api.github.com/users/eteq/repos","events_url":"https://api.github.com/users/eteq/events{/privacy}","received_events_url":"https://api.github.com/users/eteq/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":211,"state":"open","created_at":"2014-12-17T20:05:23Z","updated_at":"2015-12-08T22:16:19Z","due_on":"2015-07-23T04:00:00Z","closed_at":null},"comments":7,"created_at":"2015-12-08T11:11:46Z","updated_at":"2015-12-08T23:20:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/astropy/astropy/pulls/4380","html_url":"https://github.com/astropy/astropy/pull/4380","diff_url":"https://github.com/astropy/astropy/pull/4380.diff","patch_url":"https://github.com/astropy/astropy/pull/4380.patch"},"body":"While testing Astropy 1.1rc2 on MacOS X with Python 3.5, I ran into the following errors:\r\n\r\n```python\r\n_______________________________________________________________ ERROR collecting table/tests/test_index.py ________________________________________________________________\r\nminiconda3/envs/astropy-test-3/lib/python3.5/site-packages/astropy/table/tests/test_index.py:4: in <module>\r\n    from .test_table import SetupData\r\n<frozen importlib._bootstrap>:969: in _find_and_load\r\n    ???\r\n<frozen importlib._bootstrap>:958: in _find_and_load_unlocked\r\n    ???\r\n<frozen importlib._bootstrap>:664: in _load_unlocked\r\n    ???\r\n<frozen importlib._bootstrap>:634: in _load_backward_compatible\r\n    ???\r\n_pytest.assertion.rewrite:171: in load_module\r\n    ???\r\nminiconda3/envs/astropy-test-3/lib/python3.5/site-packages/astropy/table/tests/test_table.py:22: in <module>\r\n    import pandas\r\nminiconda3/envs/astropy-test-3/lib/python3.5/site-packages/pandas/__init__.py:7: in <module>\r\n    from pandas import hashtable, tslib, lib\r\npandas/tslib.pyx:4789: in init pandas.tslib (pandas/tslib.c:107900)\r\n    ???\r\npandas/tslib.pyx:4736: in pandas.tslib.TimeRE.__init__ (pandas/tslib.c:78940)\r\n    ???\r\npandas/tslib.pyx:4773: in pandas.tslib.TimeRE.pattern (pandas/tslib.c:79853)\r\n    ???\r\nminiconda3/envs/astropy-test-3/lib/python3.5/re.py:325: in _subx\r\n    template = _compile_repl(template, pattern)\r\nminiconda3/envs/astropy-test-3/lib/python3.5/re.py:312: in _compile_repl\r\n    p = sre_parse.parse_template(repl, pattern)\r\nminiconda3/envs/astropy-test-3/lib/python3.5/sre_parse.py:919: in parse_template\r\n    DeprecationWarning, stacklevel=4)\r\nE   DeprecationWarning: bad escape \\s\r\n_______________________________________________________________ ERROR collecting table/tests/test_table.py ________________________________________________________________\r\nminiconda3/envs/astropy-test-3/lib/python3.5/site-packages/astropy/table/tests/test_table.py:22: in <module>\r\n    import pandas\r\nminiconda3/envs/astropy-test-3/lib/python3.5/site-packages/pandas/__init__.py:42: in <module>\r\n    import pandas.core.config_init\r\nminiconda3/envs/astropy-test-3/lib/python3.5/site-packages/pandas/core/config_init.py:13: in <module>\r\n    import pandas.core.config as cf\r\nminiconda3/envs/astropy-test-3/lib/python3.5/site-packages/pandas/core/config.py:57: in <module>\r\n    import pandas.compat as compat\r\nE   AttributeError: module 'pandas' has no attribute 'compat'\r\n```\r\n\r\nThis is with the following version of pandas:\r\n\r\n```python\r\nIn [2]: pandas.__version__\r\nOut[2]: '0.17.1'\r\n```\r\n\r\nand the test header is\r\n\r\n```python\r\nplatform darwin -- Python 3.5.1 -- py-1.4.30 -- pytest-2.7.3\r\nrootdir: /Users/tom/miniconda3/envs/astropy-test-3/lib/python3.5/site-packages/astropy, inifile: \r\n\r\nRunning tests with Astropy version 1.1rc2.\r\nRunning tests in /Users/tom/miniconda3/envs/astropy-test-3/lib/python3.5/site-packages/astropy.\r\n\r\nDate: 2015-12-08T12:02:48\r\n\r\nPlatform: Darwin-12.5.0-x86_64-i386-64bit\r\n\r\nExecutable: /Users/tom/miniconda3/envs/astropy-test-3/bin/python\r\n\r\nFull Python Version: \r\n3.5.1 |Continuum Analytics, Inc.| (default, Dec  7 2015, 11:24:55) \r\n[GCC 4.2.1 (Apple Inc. build 5577)]\r\n\r\nencodings: sys: utf-8, locale: UTF-8, filesystem: utf-8\r\nbyteorder: little\r\nfloat info: dig: 15, mant_dig: 15\r\n\r\nNumpy: 1.10.1\r\nScipy: 0.16.0\r\nMatplotlib: 1.5.0\r\nh5py: 2.5.0\r\nUsing Astropy options: remote_data.\r\n```\r\n\r\nNote that we should add pandas to the test header."},"comment":{"url":"https://api.github.com/repos/astropy/astropy/issues/comments/163053696","html_url":"https://github.com/astropy/astropy/pull/4380#issuecomment-163053696","issue_url":"https://api.github.com/repos/astropy/astropy/issues/4380","id":163053696,"user":{"login":"astrofrog","id":314716,"avatar_url":"https://avatars.githubusercontent.com/u/314716?v=3","gravatar_id":"","url":"https://api.github.com/users/astrofrog","html_url":"https://github.com/astrofrog","followers_url":"https://api.github.com/users/astrofrog/followers","following_url":"https://api.github.com/users/astrofrog/following{/other_user}","gists_url":"https://api.github.com/users/astrofrog/gists{/gist_id}","starred_url":"https://api.github.com/users/astrofrog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astrofrog/subscriptions","organizations_url":"https://api.github.com/users/astrofrog/orgs","repos_url":"https://api.github.com/users/astrofrog/repos","events_url":"https://api.github.com/users/astrofrog/events{/privacy}","received_events_url":"https://api.github.com/users/astrofrog/received_events","type":"User","site_admin":false},"created_at":"2015-12-08T23:20:19Z","updated_at":"2015-12-08T23:20:19Z","body":":+1: from me. I personally think that only critical bug fixes should be backported at this stage so this should really go in 1.1.1, but I'll leave the final decision with you."}}