{"action":"created","issue":{"url":"https://api.github.com/repos/pypa/pip/issues/2142","labels_url":"https://api.github.com/repos/pypa/pip/issues/2142/labels{/name}","comments_url":"https://api.github.com/repos/pypa/pip/issues/2142/comments","events_url":"https://api.github.com/repos/pypa/pip/issues/2142/events","html_url":"https://github.com/pypa/pip/pull/2142","id":50228965,"number":2142,"title":"warn user when requested extra does not exist - 2138","user":{"login":"derwolfe","id":641357,"avatar_url":"https://avatars.githubusercontent.com/u/641357?v=3","gravatar_id":"","url":"https://api.github.com/users/derwolfe","html_url":"https://github.com/derwolfe","followers_url":"https://api.github.com/users/derwolfe/followers","following_url":"https://api.github.com/users/derwolfe/following{/other_user}","gists_url":"https://api.github.com/users/derwolfe/gists{/gist_id}","starred_url":"https://api.github.com/users/derwolfe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derwolfe/subscriptions","organizations_url":"https://api.github.com/users/derwolfe/orgs","repos_url":"https://api.github.com/users/derwolfe/repos","events_url":"https://api.github.com/users/derwolfe/events{/privacy}","received_events_url":"https://api.github.com/users/derwolfe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2014-11-26T21:28:18Z","updated_at":"2015-03-12T19:39:12Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/pypa/pip/pulls/2142","html_url":"https://github.com/pypa/pip/pull/2142","diff_url":"https://github.com/pypa/pip/pull/2142.diff","patch_url":"https://github.com/pypa/pip/pull/2142.patch"},"body":"Working on adding loggers for the pkg_resources.UnknonwExtra exception that can be thrown when a user attempts to install an unknown extra.\r\n"},"comment":{"url":"https://api.github.com/repos/pypa/pip/issues/comments/78586951","html_url":"https://github.com/pypa/pip/pull/2142#issuecomment-78586951","issue_url":"https://api.github.com/repos/pypa/pip/issues/2142","id":78586951,"user":{"login":"msabramo","id":305268,"avatar_url":"https://avatars.githubusercontent.com/u/305268?v=3","gravatar_id":"","url":"https://api.github.com/users/msabramo","html_url":"https://github.com/msabramo","followers_url":"https://api.github.com/users/msabramo/followers","following_url":"https://api.github.com/users/msabramo/following{/other_user}","gists_url":"https://api.github.com/users/msabramo/gists{/gist_id}","starred_url":"https://api.github.com/users/msabramo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msabramo/subscriptions","organizations_url":"https://api.github.com/users/msabramo/orgs","repos_url":"https://api.github.com/users/msabramo/repos","events_url":"https://api.github.com/users/msabramo/events{/privacy}","received_events_url":"https://api.github.com/users/msabramo/received_events","type":"User","site_admin":false},"created_at":"2015-03-12T19:39:12Z","updated_at":"2015-03-12T19:39:12Z","body":"Nice.\r\n\r\n```\r\n$ pip install 'bpython[nonexistent]'\r\nCollecting bpython[nonexistent]\r\n  Using cached bpython-0.14.1-py2.py3-none-any.whl\r\n  bpython 0.14.1 does not provide the extra 'nonexistent'\r\n...\r\n\r\n$ pip install --no-use-wheel 'bpython[nonexistent]'\r\nRequirement already satisfied (use --upgrade to upgrade): bpython[nonexistent] in /Users/marca/python/virtualenvs/pip/lib/python2.7/site-packages\r\n  bpython 0.14.1 does not provide the extra 'nonexistent'\r\n```\r\n\r\nIt's nice that it's a warning instead of a fatal error with a traceback.\r\n\r\nI did run into a problem where it couldn't figure out the name of the package when I tried it with sentry (the example in #852):\r\n\r\n```\r\n$ pip install -U 'sentry[lol]'\r\n...\r\n  Unknown 7.4.1 does not provide the extra 'lol'\r\n```\r\n\r\nNote how it say \"Unknown\" instead of \"sentry\"."}}