{"action":"created","issue":{"url":"https://api.github.com/repos/pypa/pip/issues/5542","repository_url":"https://api.github.com/repos/pypa/pip","labels_url":"https://api.github.com/repos/pypa/pip/issues/5542/labels{/name}","comments_url":"https://api.github.com/repos/pypa/pip/issues/5542/comments","events_url":"https://api.github.com/repos/pypa/pip/issues/5542/events","html_url":"https://github.com/pypa/pip/pull/5542","id":336102488,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk3NjM1MjMz","number":5542,"title":"Introduce a helper function for deprecation","user":{"login":"pradyunsg","id":3275593,"node_id":"MDQ6VXNlcjMyNzU1OTM=","avatar_url":"https://avatars1.githubusercontent.com/u/3275593?v=4","gravatar_id":"","url":"https://api.github.com/users/pradyunsg","html_url":"https://github.com/pradyunsg","followers_url":"https://api.github.com/users/pradyunsg/followers","following_url":"https://api.github.com/users/pradyunsg/following{/other_user}","gists_url":"https://api.github.com/users/pradyunsg/gists{/gist_id}","starred_url":"https://api.github.com/users/pradyunsg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pradyunsg/subscriptions","organizations_url":"https://api.github.com/users/pradyunsg/orgs","repos_url":"https://api.github.com/users/pradyunsg/repos","events_url":"https://api.github.com/users/pradyunsg/events{/privacy}","received_events_url":"https://api.github.com/users/pradyunsg/received_events","type":"User","site_admin":false},"labels":[{"id":8934371,"node_id":"MDU6TGFiZWw4OTM0Mzcx","url":"https://api.github.com/repos/pypa/pip/labels/!release%20blocker","name":"!release blocker","color":"e11d21","default":false},{"id":634500093,"node_id":"MDU6TGFiZWw2MzQ1MDAwOTM=","url":"https://api.github.com/repos/pypa/pip/labels/T:%20DevOps","name":"T: DevOps","color":"fef2c0","default":false},{"id":564349503,"node_id":"MDU6TGFiZWw1NjQzNDk1MDM=","url":"https://api.github.com/repos/pypa/pip/labels/trivial","name":"trivial","color":"eeeeee","default":false}],"state":"open","locked":false,"assignee":{"login":"pradyunsg","id":3275593,"node_id":"MDQ6VXNlcjMyNzU1OTM=","avatar_url":"https://avatars1.githubusercontent.com/u/3275593?v=4","gravatar_id":"","url":"https://api.github.com/users/pradyunsg","html_url":"https://github.com/pradyunsg","followers_url":"https://api.github.com/users/pradyunsg/followers","following_url":"https://api.github.com/users/pradyunsg/following{/other_user}","gists_url":"https://api.github.com/users/pradyunsg/gists{/gist_id}","starred_url":"https://api.github.com/users/pradyunsg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pradyunsg/subscriptions","organizations_url":"https://api.github.com/users/pradyunsg/orgs","repos_url":"https://api.github.com/users/pradyunsg/repos","events_url":"https://api.github.com/users/pradyunsg/events{/privacy}","received_events_url":"https://api.github.com/users/pradyunsg/received_events","type":"User","site_admin":false},"assignees":[{"login":"pradyunsg","id":3275593,"node_id":"MDQ6VXNlcjMyNzU1OTM=","avatar_url":"https://avatars1.githubusercontent.com/u/3275593?v=4","gravatar_id":"","url":"https://api.github.com/users/pradyunsg","html_url":"https://github.com/pradyunsg","followers_url":"https://api.github.com/users/pradyunsg/followers","following_url":"https://api.github.com/users/pradyunsg/following{/other_user}","gists_url":"https://api.github.com/users/pradyunsg/gists{/gist_id}","starred_url":"https://api.github.com/users/pradyunsg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pradyunsg/subscriptions","organizations_url":"https://api.github.com/users/pradyunsg/orgs","repos_url":"https://api.github.com/users/pradyunsg/repos","events_url":"https://api.github.com/users/pradyunsg/events{/privacy}","received_events_url":"https://api.github.com/users/pradyunsg/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/pypa/pip/milestones/26","html_url":"https://github.com/pypa/pip/milestone/26","labels_url":"https://api.github.com/repos/pypa/pip/milestones/26/labels","id":3232863,"node_id":"MDk6TWlsZXN0b25lMzIzMjg2Mw==","number":26,"title":"18.0","description":"","creator":{"login":"dstufft","id":145979,"node_id":"MDQ6VXNlcjE0NTk3OQ==","avatar_url":"https://avatars3.githubusercontent.com/u/145979?v=4","gravatar_id":"","url":"https://api.github.com/users/dstufft","html_url":"https://github.com/dstufft","followers_url":"https://api.github.com/users/dstufft/followers","following_url":"https://api.github.com/users/dstufft/following{/other_user}","gists_url":"https://api.github.com/users/dstufft/gists{/gist_id}","starred_url":"https://api.github.com/users/dstufft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dstufft/subscriptions","organizations_url":"https://api.github.com/users/dstufft/orgs","repos_url":"https://api.github.com/users/dstufft/repos","events_url":"https://api.github.com/users/dstufft/events{/privacy}","received_events_url":"https://api.github.com/users/dstufft/received_events","type":"User","site_admin":false},"open_issues":26,"closed_issues":15,"state":"open","created_at":"2018-03-31T19:35:56Z","updated_at":"2018-07-06T08:53:17Z","due_on":"2018-07-16T07:00:00Z","closed_at":null},"comments":6,"created_at":"2018-06-27T07:08:31Z","updated_at":"2018-07-06T09:37:54Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/pypa/pip/pulls/5542","html_url":"https://github.com/pypa/pip/pull/5542","diff_url":"https://github.com/pypa/pip/pull/5542.diff","patch_url":"https://github.com/pypa/pip/pull/5542.patch"},"body":"Built on top of #5523 \r\n\r\nReplaces the current deprecation setup with one which has a single function -- the new `deprecated` function also includes 2 optional parameters:\r\n\r\n- Issue number: that gets converted into a URL (to guide users to a dedicated issue if needed)\r\n- Replacement: Provide a way to suggest alternatives to the functionality deprecated.\r\n\r\nProviding these two should make it easier for users to reach places with more context and also make it more explicit that users need to be provided advice about how to deal with the deprecation."},"comment":{"url":"https://api.github.com/repos/pypa/pip/issues/comments/402983534","html_url":"https://github.com/pypa/pip/pull/5542#issuecomment-402983534","issue_url":"https://api.github.com/repos/pypa/pip/issues/5542","id":402983534,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMjk4MzUzNA==","user":{"login":"pradyunsg","id":3275593,"node_id":"MDQ6VXNlcjMyNzU1OTM=","avatar_url":"https://avatars1.githubusercontent.com/u/3275593?v=4","gravatar_id":"","url":"https://api.github.com/users/pradyunsg","html_url":"https://github.com/pradyunsg","followers_url":"https://api.github.com/users/pradyunsg/followers","following_url":"https://api.github.com/users/pradyunsg/following{/other_user}","gists_url":"https://api.github.com/users/pradyunsg/gists{/gist_id}","starred_url":"https://api.github.com/users/pradyunsg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pradyunsg/subscriptions","organizations_url":"https://api.github.com/users/pradyunsg/orgs","repos_url":"https://api.github.com/users/pradyunsg/repos","events_url":"https://api.github.com/users/pradyunsg/events{/privacy}","received_events_url":"https://api.github.com/users/pradyunsg/received_events","type":"User","site_admin":false},"created_at":"2018-07-06T09:37:54Z","updated_at":"2018-07-06T09:37:54Z","author_association":"MEMBER","body":"Cool. This should work.\r\n\r\n---\r\n\r\nPS: GitHub did a good job at suggesting people to request a review from. :)\r\n\r\n<img width=\"224\" alt=\"screen shot 2018-07-06 at 2 24 45 pm\" src=\"https://user-images.githubusercontent.com/3275593/42369701-6033d4b8-8128-11e8-95e3-fda9d04572bb.png\">\r\n"}}
{"actor":{"display_login":"pradyunsg"}}