{"action":"closed","issue":{"url":"https://api.github.com/repos/krmaxwell/maltrieve/issues/112","labels_url":"https://api.github.com/repos/krmaxwell/maltrieve/issues/112/labels{/name}","comments_url":"https://api.github.com/repos/krmaxwell/maltrieve/issues/112/comments","events_url":"https://api.github.com/repos/krmaxwell/maltrieve/issues/112/events","html_url":"https://github.com/krmaxwell/maltrieve/issues/112","id":63078314,"number":112,"title":"setup.py fails","user":{"login":"krmaxwell","id":1624387,"avatar_url":"https://avatars.githubusercontent.com/u/1624387?v=3","gravatar_id":"","url":"https://api.github.com/users/krmaxwell","html_url":"https://github.com/krmaxwell","followers_url":"https://api.github.com/users/krmaxwell/followers","following_url":"https://api.github.com/users/krmaxwell/following{/other_user}","gists_url":"https://api.github.com/users/krmaxwell/gists{/gist_id}","starred_url":"https://api.github.com/users/krmaxwell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krmaxwell/subscriptions","organizations_url":"https://api.github.com/users/krmaxwell/orgs","repos_url":"https://api.github.com/users/krmaxwell/repos","events_url":"https://api.github.com/users/krmaxwell/events{/privacy}","received_events_url":"https://api.github.com/users/krmaxwell/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/krmaxwell/maltrieve/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/krmaxwell/maltrieve/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"closed","locked":false,"assignee":{"login":"krmaxwell","id":1624387,"avatar_url":"https://avatars.githubusercontent.com/u/1624387?v=3","gravatar_id":"","url":"https://api.github.com/users/krmaxwell","html_url":"https://github.com/krmaxwell","followers_url":"https://api.github.com/users/krmaxwell/followers","following_url":"https://api.github.com/users/krmaxwell/following{/other_user}","gists_url":"https://api.github.com/users/krmaxwell/gists{/gist_id}","starred_url":"https://api.github.com/users/krmaxwell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krmaxwell/subscriptions","organizations_url":"https://api.github.com/users/krmaxwell/orgs","repos_url":"https://api.github.com/users/krmaxwell/repos","events_url":"https://api.github.com/users/krmaxwell/events{/privacy}","received_events_url":"https://api.github.com/users/krmaxwell/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-03-19T19:58:48Z","updated_at":"2015-03-19T20:11:17Z","closed_at":"2015-03-19T20:11:17Z","body":"When testing a Docker build, I got the following error:\r\n\r\n```\r\nStep 7 : RUN git clone https://github.com/krmaxwell/maltrieve.git &&  cd maltrieve &&  python setup.py install &&  chown -R maltrieve:maltrieve /home/maltrieve\r\n ---> Running in e15c89a74619\r\nCloning into 'maltrieve'...\r\nTraceback (most recent call last):\r\n  File \"setup.py\", line 6, in <module>\r\n    reqs = [str(ir.req) for ir in install_reqs]\r\n  File \"/usr/local/lib/python2.7/dist-packages/pip/req/req_file.py\", line 19, in parse_requirements\r\n    \"parse_requirements() missing 1 required keyword argument: \"\r\nTypeError: parse_requirements() missing 1 required keyword argument: 'session'\r\n2015/03/19 14:46:24 The command [/bin/sh -c git clone https://github.com/krmaxwell/maltrieve.git &&  cd maltrieve &&  python setup.py install &&  chown -R maltrieve:maltrieve /home/maltrieve] returned a non-zero code: 1\r\n```\r\n\r\nThis appears to be because pip [never intended](https://stackoverflow.com/questions/14399534/how-can-i-reference-requirements-txt-for-the-install-requires-kwarg-in-setuptool#comment34497476_16624700) to support this usage:\r\n\r\n> You really don't want to do this. Speaking as a pip maintainer pip does not support being called as an API like this at all. In fact pip 1.6 (next version at this time) moves this function. \r\n\r\nThis should be considered a production-breaking bug."}}