{"action":"created","issue":{"url":"https://api.github.com/repos/pypa/pip/issues/4161","repository_url":"https://api.github.com/repos/pypa/pip","labels_url":"https://api.github.com/repos/pypa/pip/issues/4161/labels{/name}","comments_url":"https://api.github.com/repos/pypa/pip/issues/4161/comments","events_url":"https://api.github.com/repos/pypa/pip/issues/4161/events","html_url":"https://github.com/pypa/pip/issues/4161","id":193608783,"number":4161,"title":"pip does not deal properly with installed developer versions","user":{"login":"astrofrog","id":314716,"avatar_url":"https://avatars.githubusercontent.com/u/314716?v=3","gravatar_id":"","url":"https://api.github.com/users/astrofrog","html_url":"https://github.com/astrofrog","followers_url":"https://api.github.com/users/astrofrog/followers","following_url":"https://api.github.com/users/astrofrog/following{/other_user}","gists_url":"https://api.github.com/users/astrofrog/gists{/gist_id}","starred_url":"https://api.github.com/users/astrofrog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astrofrog/subscriptions","organizations_url":"https://api.github.com/users/astrofrog/orgs","repos_url":"https://api.github.com/users/astrofrog/repos","events_url":"https://api.github.com/users/astrofrog/events{/privacy}","received_events_url":"https://api.github.com/users/astrofrog/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-05T21:00:47Z","updated_at":"2016-12-05T21:02:44Z","closed_at":null,"body":"* Pip version: 9.0.1\r\n* Python version: 2.7.6\r\n* Operating System: Ubuntu 14.04\r\n\r\n### Description:\r\n\r\nI have a developer version of Numpy installed (``1.13.0.dev0-b297cb7``). If I clone the following repository:\r\n\r\nhttps://github.com/astropy/astropy\r\n\r\nGo inside it, then do ``pip install .``, I get:\r\n\r\n```\r\nCollecting numpy>=1.7.0 (from astropy==1.3.dev17332)\r\n  Using cached numpy-1.11.2-cp27-cp27mu-manylinux1_x86_64.whl\r\nInstalling collected packages: numpy, astropy\r\n  Found existing installation: numpy 1.13.0.dev0-b297cb7\r\n    Uninstalling numpy-1.13.0.dev0-b297cb7:\r\n      Successfully uninstalled numpy-1.13.0.dev0-b297cb7\r\n```\r\n\r\nThe developer version should satisfy ``numpy>=1.7.0`` but instead pip uninstalls it and installs 1.11.2 instead.\r\n\r\n### What I've run:\r\n\r\n```\r\ngit clone git://github.com/numpy/numpy\r\ncd numpy\r\npip install .\r\ncd ..\r\ngit clone git://github.com/astropy/astropy\r\ncd astropy\r\npip install .\r\n```"},"comment":{"url":"https://api.github.com/repos/pypa/pip/issues/comments/264976263","html_url":"https://github.com/pypa/pip/issues/4161#issuecomment-264976263","issue_url":"https://api.github.com/repos/pypa/pip/issues/4161","id":264976263,"user":{"login":"dstufft","id":145979,"avatar_url":"https://avatars.githubusercontent.com/u/145979?v=3","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},"created_at":"2016-12-05T21:02:44Z","updated_at":"2016-12-05T21:02:44Z","body":"That is not a valid PEP 440 version which is why it's sorting as less than a valid one. The valid PEP 440 version would look like ``1.13.0.dev0+b297cb7``."}}
{"actor":{"display_login":"dstufft"}}