{"action":"created","issue":{"url":"https://api.github.com/repos/GalSim-developers/GalSim/issues/678","labels_url":"https://api.github.com/repos/GalSim-developers/GalSim/issues/678/labels{/name}","comments_url":"https://api.github.com/repos/GalSim-developers/GalSim/issues/678/comments","events_url":"https://api.github.com/repos/GalSim-developers/GalSim/issues/678/events","html_url":"https://github.com/GalSim-developers/GalSim/issues/678","id":102897575,"number":678,"title":"build test failure","user":{"login":"beckermr","id":5296416,"avatar_url":"https://avatars.githubusercontent.com/u/5296416?v=3","gravatar_id":"","url":"https://api.github.com/users/beckermr","html_url":"https://github.com/beckermr","followers_url":"https://api.github.com/users/beckermr/followers","following_url":"https://api.github.com/users/beckermr/following{/other_user}","gists_url":"https://api.github.com/users/beckermr/gists{/gist_id}","starred_url":"https://api.github.com/users/beckermr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beckermr/subscriptions","organizations_url":"https://api.github.com/users/beckermr/orgs","repos_url":"https://api.github.com/users/beckermr/repos","events_url":"https://api.github.com/users/beckermr/events{/privacy}","received_events_url":"https://api.github.com/users/beckermr/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-24T21:42:07Z","updated_at":"2015-08-25T16:25:49Z","closed_at":"2015-08-25T16:25:49Z","body":"So it appears that when using the fits reader from astropy, the test suite for galsim has a failure.\r\n\r\n```======================================================================\r\nERROR: Test the PyAstWCS class\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python2.7/site-packages/nose/case.py\", line 197, in runTest\r\n    self.test(*self.arg)\r\n  File \"/Users/beckermr_admin/Desktop/galsim_install/src/GalSim-1.3.0/tests/test_wcs.py\", line 1613, in test_pyastwcs\r\n    wcs = galsim.PyAstWCS(file_name, dir=dir)\r\n  File \"/usr/local/lib/python2.7/site-packages/galsim/fitswcs.py\", line 434, in __init__\r\n    wcsinfo = self._load_from_header(header, hdu)\r\n  File \"/usr/local/lib/python2.7/site-packages/galsim/fitswcs.py\", line 476, in _load_from_header\r\n    fc = starlink.Ast.FitsChan(starlink.Atl.PyFITSAdapter(hdu))\r\n  File \"/usr/local/lib/python2.7/site-packages/starlink/Atl.py\", line 106, in __init__\r\n    self.pyfits_3_1_0 = ( LooseVersion(pyfits.__version__) >=\r\nAttributeError: 'module' object has no attribute '__version__'\r\n```\r\n\r\nIt turns out this is not a failure of galsim, but actually of starlink, since this library is asking for the `__version__` attribute which is not set for the latest pyfits version in astropy. I don't know if galsim needs to do anything about this. Should this be marked as a known failure?"},"comment":{"url":"https://api.github.com/repos/GalSim-developers/GalSim/issues/comments/134659356","html_url":"https://github.com/GalSim-developers/GalSim/issues/678#issuecomment-134659356","issue_url":"https://api.github.com/repos/GalSim-developers/GalSim/issues/678","id":134659356,"user":{"login":"beckermr","id":5296416,"avatar_url":"https://avatars.githubusercontent.com/u/5296416?v=3","gravatar_id":"","url":"https://api.github.com/users/beckermr","html_url":"https://github.com/beckermr","followers_url":"https://api.github.com/users/beckermr/followers","following_url":"https://api.github.com/users/beckermr/following{/other_user}","gists_url":"https://api.github.com/users/beckermr/gists{/gist_id}","starred_url":"https://api.github.com/users/beckermr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beckermr/subscriptions","organizations_url":"https://api.github.com/users/beckermr/orgs","repos_url":"https://api.github.com/users/beckermr/repos","events_url":"https://api.github.com/users/beckermr/events{/privacy}","received_events_url":"https://api.github.com/users/beckermr/received_events","type":"User","site_admin":false},"created_at":"2015-08-25T16:25:49Z","updated_at":"2015-08-25T16:25:49Z","body":"OK. With the latest starlink-pyast that was just pushed to pypi (3.8.0) the test suite passes just fine. I am closing this issue. "}}