{"action":"created","issue":{"url":"https://api.github.com/repos/ipython/ipython/issues/10583","repository_url":"https://api.github.com/repos/ipython/ipython","labels_url":"https://api.github.com/repos/ipython/ipython/issues/10583/labels{/name}","comments_url":"https://api.github.com/repos/ipython/ipython/issues/10583/comments","events_url":"https://api.github.com/repos/ipython/ipython/issues/10583/events","html_url":"https://github.com/ipython/ipython/issues/10583","id":230595167,"number":10583,"title":"Badly behaving setup.py ","user":{"login":"tysonclugg","id":218251,"avatar_url":"https://avatars1.githubusercontent.com/u/218251?v=3","gravatar_id":"","url":"https://api.github.com/users/tysonclugg","html_url":"https://github.com/tysonclugg","followers_url":"https://api.github.com/users/tysonclugg/followers","following_url":"https://api.github.com/users/tysonclugg/following{/other_user}","gists_url":"https://api.github.com/users/tysonclugg/gists{/gist_id}","starred_url":"https://api.github.com/users/tysonclugg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tysonclugg/subscriptions","organizations_url":"https://api.github.com/users/tysonclugg/orgs","repos_url":"https://api.github.com/users/tysonclugg/repos","events_url":"https://api.github.com/users/tysonclugg/events{/privacy}","received_events_url":"https://api.github.com/users/tysonclugg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-05-23T05:58:33Z","updated_at":"2017-05-23T17:38:35Z","closed_at":null,"body":"Changing distribution metadata (such as `install_requires`) in `setup.py` according to some vague ideas on how (pip|setuptools|...) works is a horrid idea.  More specifically, try this:\r\n\r\n1. Use `pip-tools` (version 1.9 or later) to compile the following `requirements.in` on OSX:\r\n```\r\nipython\r\n```\r\n2. Note that `appnope` (only useful on OSX) is included in the resulting `requirements.txt`, without any environment markers - it should be only for `:sys_platform == \"darwin\"`.\r\n\r\nI'll put together two PRs (one for master, the other for 5.x) that limits the insanity to old versions of pip (<6)."},"comment":{"url":"https://api.github.com/repos/ipython/ipython/issues/comments/303476726","html_url":"https://github.com/ipython/ipython/issues/10583#issuecomment-303476726","issue_url":"https://api.github.com/repos/ipython/ipython/issues/10583","id":303476726,"user":{"login":"Carreau","id":335567,"avatar_url":"https://avatars0.githubusercontent.com/u/335567?v=3","gravatar_id":"","url":"https://api.github.com/users/Carreau","html_url":"https://github.com/Carreau","followers_url":"https://api.github.com/users/Carreau/followers","following_url":"https://api.github.com/users/Carreau/following{/other_user}","gists_url":"https://api.github.com/users/Carreau/gists{/gist_id}","starred_url":"https://api.github.com/users/Carreau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Carreau/subscriptions","organizations_url":"https://api.github.com/users/Carreau/orgs","repos_url":"https://api.github.com/users/Carreau/repos","events_url":"https://api.github.com/users/Carreau/events{/privacy}","received_events_url":"https://api.github.com/users/Carreau/received_events","type":"User","site_admin":false},"created_at":"2017-05-23T17:38:35Z","updated_at":"2017-05-23T17:38:35Z","body":"> I'll put together two PRs (one for master, the other for 5.x) that limits the insanity to old versions of pip (<6).\r\n\r\nIf you have pip <6 anyway IPython will likely fails to install (mostly on python 2) as pi will download IPython 6 and try to install it while it's not compatible.  So I think that expecting users to have a recent pip is reasonable.\r\n\r\nHappy to get a PR making things better though. Don't spend too much time on a PR for 5.x if the PR for master does not conflict, our bot will be able to auto backport.\r\n\r\nThanks !"}}
{"actor":{"display_login":"Carreau"}}