{"action":"created","issue":{"url":"https://api.github.com/repos/solvebio/solvebio-python/issues/124","repository_url":"https://api.github.com/repos/solvebio/solvebio-python","labels_url":"https://api.github.com/repos/solvebio/solvebio-python/issues/124/labels{/name}","comments_url":"https://api.github.com/repos/solvebio/solvebio-python/issues/124/comments","events_url":"https://api.github.com/repos/solvebio/solvebio-python/issues/124/events","html_url":"https://github.com/solvebio/solvebio-python/issues/124","id":197225765,"number":124,"title":"Deprecate depository.latest_version()","user":{"login":"jsh2134","id":1028443,"avatar_url":"https://avatars.githubusercontent.com/u/1028443?v=3","gravatar_id":"","url":"https://api.github.com/users/jsh2134","html_url":"https://github.com/jsh2134","followers_url":"https://api.github.com/users/jsh2134/followers","following_url":"https://api.github.com/users/jsh2134/following{/other_user}","gists_url":"https://api.github.com/users/jsh2134/gists{/gist_id}","starred_url":"https://api.github.com/users/jsh2134/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsh2134/subscriptions","organizations_url":"https://api.github.com/users/jsh2134/orgs","repos_url":"https://api.github.com/users/jsh2134/repos","events_url":"https://api.github.com/users/jsh2134/events{/privacy}","received_events_url":"https://api.github.com/users/jsh2134/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-22T17:30:49Z","updated_at":"2016-12-22T22:15:37Z","closed_at":null,"body":"Or at least allow it to be None, as some datasets no longer appear to have it?\r\n\r\n```Traceback (most recent call last):\r\n File \"fields.py\", line 11, in <module>\r\n   version = depo.latest_version()\r\n File \"/Users/irina/.virtualenvs/iterable/lib/python2.7/site-packages/solvebio-1.15.0-py2.7.egg/solvebio/resource/depository.py\", line 48, in latest_version\r\n   return self.versions(self['latest_version'].split('/')[-1])\r\nAttributeError: 'NoneType' object has no attribute 'split()'```"},"comment":{"url":"https://api.github.com/repos/solvebio/solvebio-python/issues/comments/268902732","html_url":"https://github.com/solvebio/solvebio-python/issues/124#issuecomment-268902732","issue_url":"https://api.github.com/repos/solvebio/solvebio-python/issues/124","id":268902732,"user":{"login":"davecap","id":7460,"avatar_url":"https://avatars.githubusercontent.com/u/7460?v=3","gravatar_id":"","url":"https://api.github.com/users/davecap","html_url":"https://github.com/davecap","followers_url":"https://api.github.com/users/davecap/followers","following_url":"https://api.github.com/users/davecap/following{/other_user}","gists_url":"https://api.github.com/users/davecap/gists{/gist_id}","starred_url":"https://api.github.com/users/davecap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davecap/subscriptions","organizations_url":"https://api.github.com/users/davecap/orgs","repos_url":"https://api.github.com/users/davecap/repos","events_url":"https://api.github.com/users/davecap/events{/privacy}","received_events_url":"https://api.github.com/users/davecap/received_events","type":"User","site_admin":false},"created_at":"2016-12-22T22:15:37Z","updated_at":"2016-12-22T22:15:37Z","body":"We do still use latest_version, but we also have default_version. We should probably just check for None in the latest_version attribute since sometimes the depository might just not have any versions at all."}}
{"actor":{"display_login":"davecap"}}