{"action":"created","issue":{"url":"https://api.github.com/repos/pypa/pip/issues/5142","repository_url":"https://api.github.com/repos/pypa/pip","labels_url":"https://api.github.com/repos/pypa/pip/issues/5142/labels{/name}","comments_url":"https://api.github.com/repos/pypa/pip/issues/5142/comments","events_url":"https://api.github.com/repos/pypa/pip/issues/5142/events","html_url":"https://github.com/pypa/pip/issues/5142","id":310428107,"number":5142,"title":"Pip 10.0b1 fails to respect pyproject.toml from GitHub ","user":{"login":"henryiii","id":4616906,"avatar_url":"https://avatars1.githubusercontent.com/u/4616906?v=4","gravatar_id":"","url":"https://api.github.com/users/henryiii","html_url":"https://github.com/henryiii","followers_url":"https://api.github.com/users/henryiii/followers","following_url":"https://api.github.com/users/henryiii/following{/other_user}","gists_url":"https://api.github.com/users/henryiii/gists{/gist_id}","starred_url":"https://api.github.com/users/henryiii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henryiii/subscriptions","organizations_url":"https://api.github.com/users/henryiii/orgs","repos_url":"https://api.github.com/users/henryiii/repos","events_url":"https://api.github.com/users/henryiii/events{/privacy}","received_events_url":"https://api.github.com/users/henryiii/received_events","type":"User","site_admin":false},"labels":[{"id":82422,"url":"https://api.github.com/repos/pypa/pip/labels/kind%20-%20bug","name":"kind - bug","color":"b60205","default":false},{"id":8934371,"url":"https://api.github.com/repos/pypa/pip/labels/release%20blocker","name":"release blocker","color":"e11d21","default":false}],"state":"open","locked":false,"assignee":{"login":"pradyunsg","id":3275593,"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,"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/23","html_url":"https://github.com/pypa/pip/milestone/23","labels_url":"https://api.github.com/repos/pypa/pip/milestones/23/labels","id":2110781,"number":23,"title":"10.0","description":"","creator":{"login":"xavfernandez","id":1089744,"avatar_url":"https://avatars0.githubusercontent.com/u/1089744?v=4","gravatar_id":"","url":"https://api.github.com/users/xavfernandez","html_url":"https://github.com/xavfernandez","followers_url":"https://api.github.com/users/xavfernandez/followers","following_url":"https://api.github.com/users/xavfernandez/following{/other_user}","gists_url":"https://api.github.com/users/xavfernandez/gists{/gist_id}","starred_url":"https://api.github.com/users/xavfernandez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xavfernandez/subscriptions","organizations_url":"https://api.github.com/users/xavfernandez/orgs","repos_url":"https://api.github.com/users/xavfernandez/repos","events_url":"https://api.github.com/users/xavfernandez/events{/privacy}","received_events_url":"https://api.github.com/users/xavfernandez/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":108,"state":"open","created_at":"2016-11-02T21:27:51Z","updated_at":"2018-04-03T02:17:16Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2018-04-02T08:28:52Z","updated_at":"2018-04-03T02:17:42Z","closed_at":null,"author_association":"NONE","body":"* Pip version: 10.0.0b1\r\n* Python version: 2.7.12\r\n* Operating system: Ubuntu Docker 17.10\r\n\r\n### Description:\r\n\r\nInstalling from a `git+` address doesn't seem to read/respect the `pyproject.toml` file, while local installs do.\r\n\r\n### What I've run:\r\n\r\n```bash\r\ndocker run -it ubuntu\r\napt update && apt install -y python-pip git cmake g++\r\npip install pip==10.0b1\r\npython -m pip install git+https://github.com/henryiii/skbuild-hello-cpp.git\r\n# FAILS (see below)\r\n```\r\n\r\n```bash\r\ndocker run -it ubuntu\r\napt update && apt install -y python-pip git cmake g++\r\npip install pip==10.0b1\r\ngit clone https://github.com/henryiii/skbuild-hello-cpp.git\r\ncd skbuild-hello-cpp\r\npython -m pip install .\r\n# WORKS\r\n```\r\n\r\nThe failure in the first case is due to skbuild missing, which was specified in the `pyproject.toml` file. While both say \"Installing build dependencies ... done\", the failing one goes through that step much faster.\r\n\r\n```\r\nCollecting git+https://github.com/henryiii/skbuild-hello-cpp.git\r\n  Cloning https://github.com/henryiii/skbuild-hello-cpp.git to /tmp/pip-req-build-IW2Cm7\r\n  Installing build dependencies ... done\r\nInstalling collected packages: hello\r\n  Running setup.py install for hello ... error\r\n    Complete output from command /usr/bin/python -u -c \"import setuptools, tokenize;__file__='/tmp/pip-req-build-IW2Cm7/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\\r\\n', '\\n');f.close();exec(compile(code, __file__, 'exec'))\" install --record /tmp/pip-record-qLJToc/install-record.txt --single-version-externally-managed --compile:\r\n    Traceback (most recent call last):\r\n      File \"<string>\", line 1, in <module>\r\n      File \"/tmp/pip-req-build-IW2Cm7/setup.py\", line 1, in <module>\r\n        from skbuild import setup\r\n    ImportError: No module named skbuild\r\n\r\n    ----------------------------------------\r\nCommand \"/usr/bin/python -u -c \"import setuptools, tokenize;__file__='/tmp/pip-req-build-IW2Cm7/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\\r\\n', '\\n');f.close();exec(compile(code, __file__, 'exec'))\" install --record /tmp/pip-record-qLJToc/install-record.txt --single-version-externally-managed --compile\" failed with error code 1 in /tmp/pip-req-build-IW2Cm7/\r\n```\r\n\r\nAnd the success:\r\n\r\n```\r\nProcessing /skbuild-hello-cpp\r\n  Installing build dependencies ... done\r\nBuilding wheels for collected packages: hello\r\n  Running setup.py bdist_wheel for hello ... done\r\n  Stored in directory: /root/.cache/pip/wheels/98/a4/89/b066a6010178297db26156fb8d7047bd973c45bfddd99ea7f8\r\nSuccessfully built hello\r\nInstalling collected packages: hello\r\nSuccessfully installed hello-1.2.3\r\n```"},"comment":{"url":"https://api.github.com/repos/pypa/pip/issues/comments/378106375","html_url":"https://github.com/pypa/pip/issues/5142#issuecomment-378106375","issue_url":"https://api.github.com/repos/pypa/pip/issues/5142","id":378106375,"user":{"login":"pradyunsg","id":3275593,"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-04-03T02:17:42Z","updated_at":"2018-04-03T02:17:42Z","author_association":"MEMBER","body":"Closing as #5148 has merged."}}
{"actor":{"display_login":"pradyunsg"}}