{"action":"created","issue":{"url":"https://api.github.com/repos/pypa/pip/issues/3880","repository_url":"https://api.github.com/repos/pypa/pip","labels_url":"https://api.github.com/repos/pypa/pip/issues/3880/labels{/name}","comments_url":"https://api.github.com/repos/pypa/pip/issues/3880/comments","events_url":"https://api.github.com/repos/pypa/pip/issues/3880/events","html_url":"https://github.com/pypa/pip/issues/3880","id":168305803,"number":3880,"title":"Add the feature to read requirements.txt from stdin","user":{"login":"vmarkovtsev","id":2793551,"avatar_url":"https://avatars0.githubusercontent.com/u/2793551?v=3","gravatar_id":"","url":"https://api.github.com/users/vmarkovtsev","html_url":"https://github.com/vmarkovtsev","followers_url":"https://api.github.com/users/vmarkovtsev/followers","following_url":"https://api.github.com/users/vmarkovtsev/following{/other_user}","gists_url":"https://api.github.com/users/vmarkovtsev/gists{/gist_id}","starred_url":"https://api.github.com/users/vmarkovtsev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vmarkovtsev/subscriptions","organizations_url":"https://api.github.com/users/vmarkovtsev/orgs","repos_url":"https://api.github.com/users/vmarkovtsev/repos","events_url":"https://api.github.com/users/vmarkovtsev/events{/privacy}","received_events_url":"https://api.github.com/users/vmarkovtsev/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-07-29T11:32:00Z","updated_at":"2017-03-30T18:44:34Z","closed_at":"2017-03-30T13:59:41Z","body":"Feature request: currently, `pip install -r requirements.txt` works, but `pip install -r -` does not. The latter should take the file contents from stdin. This will allow UNIX-style command chaining if the requirements are dynamically generated by a program. Of course it is easily fixed by `xargs`, but still.\n"},"comment":{"url":"https://api.github.com/repos/pypa/pip/issues/comments/290506922","html_url":"https://github.com/pypa/pip/issues/3880#issuecomment-290506922","issue_url":"https://api.github.com/repos/pypa/pip/issues/3880","id":290506922,"user":{"login":"ryanhiebert","id":425099,"avatar_url":"https://avatars1.githubusercontent.com/u/425099?v=3","gravatar_id":"","url":"https://api.github.com/users/ryanhiebert","html_url":"https://github.com/ryanhiebert","followers_url":"https://api.github.com/users/ryanhiebert/followers","following_url":"https://api.github.com/users/ryanhiebert/following{/other_user}","gists_url":"https://api.github.com/users/ryanhiebert/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanhiebert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanhiebert/subscriptions","organizations_url":"https://api.github.com/users/ryanhiebert/orgs","repos_url":"https://api.github.com/users/ryanhiebert/repos","events_url":"https://api.github.com/users/ryanhiebert/events{/privacy}","received_events_url":"https://api.github.com/users/ryanhiebert/received_events","type":"User","site_admin":false},"created_at":"2017-03-30T18:44:34Z","updated_at":"2017-03-30T18:44:34Z","body":"FWIW, I found this issue a while back when I needed to do this in my dockerfile, so I could skip the `-e .` line that I have installing my local package, to keep my dependencies in a separate layer that wouldn't be invalidated as quickly.\r\n\r\nThe workaround above worked fine for me, though. My Dockerfile line is currently just:\r\n\r\n```\r\nRUN grep -v '^-e .' requirements.txt | pip install -r /dev/stdin\r\n```"}}
{"actor":{"display_login":"ryanhiebert"}}