{"action":"created","issue":{"url":"https://api.github.com/repos/mopidy/mopidy/issues/1090","labels_url":"https://api.github.com/repos/mopidy/mopidy/issues/1090/labels{/name}","comments_url":"https://api.github.com/repos/mopidy/mopidy/issues/1090/comments","events_url":"https://api.github.com/repos/mopidy/mopidy/issues/1090/events","html_url":"https://github.com/mopidy/mopidy/pull/1090","id":65098547,"number":1090,"title":"Add `warnings.warn` everywhere and make mopidy \"deprecation warnings safe\"","user":{"login":"adamcik","id":82534,"avatar_url":"https://avatars.githubusercontent.com/u/82534?v=3","gravatar_id":"","url":"https://api.github.com/users/adamcik","html_url":"https://github.com/adamcik","followers_url":"https://api.github.com/users/adamcik/followers","following_url":"https://api.github.com/users/adamcik/following{/other_user}","gists_url":"https://api.github.com/users/adamcik/gists{/gist_id}","starred_url":"https://api.github.com/users/adamcik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamcik/subscriptions","organizations_url":"https://api.github.com/users/adamcik/orgs","repos_url":"https://api.github.com/users/adamcik/repos","events_url":"https://api.github.com/users/adamcik/events{/privacy}","received_events_url":"https://api.github.com/users/adamcik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"jodal","id":43726,"avatar_url":"https://avatars.githubusercontent.com/u/43726?v=3","gravatar_id":"","url":"https://api.github.com/users/jodal","html_url":"https://github.com/jodal","followers_url":"https://api.github.com/users/jodal/followers","following_url":"https://api.github.com/users/jodal/following{/other_user}","gists_url":"https://api.github.com/users/jodal/gists{/gist_id}","starred_url":"https://api.github.com/users/jodal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jodal/subscriptions","organizations_url":"https://api.github.com/users/jodal/orgs","repos_url":"https://api.github.com/users/jodal/repos","events_url":"https://api.github.com/users/jodal/events{/privacy}","received_events_url":"https://api.github.com/users/jodal/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/mopidy/mopidy/milestones/40","html_url":"https://github.com/mopidy/mopidy/milestones/v1.1%20-%20Gapless%20playback","labels_url":"https://api.github.com/repos/mopidy/mopidy/milestones/40/labels","id":965996,"number":40,"title":"v1.1 - Gapless playback","description":"\r\n\r\n<!---\r\n@huboard:{\"order\":31.75}\r\n-->\r\n","creator":{"login":"jodal","id":43726,"avatar_url":"https://avatars.githubusercontent.com/u/43726?v=3","gravatar_id":"","url":"https://api.github.com/users/jodal","html_url":"https://github.com/jodal","followers_url":"https://api.github.com/users/jodal/followers","following_url":"https://api.github.com/users/jodal/following{/other_user}","gists_url":"https://api.github.com/users/jodal/gists{/gist_id}","starred_url":"https://api.github.com/users/jodal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jodal/subscriptions","organizations_url":"https://api.github.com/users/jodal/orgs","repos_url":"https://api.github.com/users/jodal/repos","events_url":"https://api.github.com/users/jodal/events{/privacy}","received_events_url":"https://api.github.com/users/jodal/received_events","type":"User","site_admin":false},"open_issues":14,"closed_issues":0,"state":"open","created_at":"2015-02-04T19:26:36Z","updated_at":"2015-03-29T21:27:29Z","due_on":"2015-12-31T23:00:00Z","closed_at":null},"comments":5,"created_at":"2015-03-29T21:26:51Z","updated_at":"2015-03-31T19:04:40Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mopidy/mopidy/pulls/1090","html_url":"https://github.com/mopidy/mopidy/pull/1090","diff_url":"https://github.com/mopidy/mopidy/pull/1090.diff","patch_url":"https://github.com/mopidy/mopidy/pull/1090.patch"},"body":"Fixes most of #1083. By deprecation warnings safe I mean that one should be able to run with `-W error` and expect things to work without crashing. Currently this is only true for the tests. Places we haven't switched to new APIs now have fat warnings in the form of `catch_warnings` contexts.\r\n\r\nI've also switched to using the non-deprecated versions where practical of course. Through this I found that there are some cases where `tracklist.add(tracks=...)` still makes a lot more sense for now."},"comment":{"url":"https://api.github.com/repos/mopidy/mopidy/issues/comments/88210824","html_url":"https://github.com/mopidy/mopidy/pull/1090#issuecomment-88210824","issue_url":"https://api.github.com/repos/mopidy/mopidy/issues/1090","id":88210824,"user":{"login":"adamcik","id":82534,"avatar_url":"https://avatars.githubusercontent.com/u/82534?v=3","gravatar_id":"","url":"https://api.github.com/users/adamcik","html_url":"https://github.com/adamcik","followers_url":"https://api.github.com/users/adamcik/followers","following_url":"https://api.github.com/users/adamcik/following{/other_user}","gists_url":"https://api.github.com/users/adamcik/gists{/gist_id}","starred_url":"https://api.github.com/users/adamcik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamcik/subscriptions","organizations_url":"https://api.github.com/users/adamcik/orgs","repos_url":"https://api.github.com/users/adamcik/repos","events_url":"https://api.github.com/users/adamcik/events{/privacy}","received_events_url":"https://api.github.com/users/adamcik/received_events","type":"User","site_admin":false},"created_at":"2015-03-31T19:04:40Z","updated_at":"2015-03-31T19:04:40Z","body":"Fixed."}}