{"action":"closed","issue":{"url":"https://api.github.com/repos/pypa/pip/issues/993","labels_url":"https://api.github.com/repos/pypa/pip/issues/993/labels{/name}","comments_url":"https://api.github.com/repos/pypa/pip/issues/993/comments","events_url":"https://api.github.com/repos/pypa/pip/issues/993/events","html_url":"https://github.com/pypa/pip/issues/993","id":15502191,"number":993,"title":"Ignore literal duplicates (includes and/or individual requirements)","user":{"login":"rfleschenberg","id":4319330,"avatar_url":"https://avatars.githubusercontent.com/u/4319330?v=3","gravatar_id":"","url":"https://api.github.com/users/rfleschenberg","html_url":"https://github.com/rfleschenberg","followers_url":"https://api.github.com/users/rfleschenberg/followers","following_url":"https://api.github.com/users/rfleschenberg/following{/other_user}","gists_url":"https://api.github.com/users/rfleschenberg/gists{/gist_id}","starred_url":"https://api.github.com/users/rfleschenberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rfleschenberg/subscriptions","organizations_url":"https://api.github.com/users/rfleschenberg/orgs","repos_url":"https://api.github.com/users/rfleschenberg/repos","events_url":"https://api.github.com/users/rfleschenberg/events{/privacy}","received_events_url":"https://api.github.com/users/rfleschenberg/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2013-06-13T12:22:54Z","updated_at":"2016-01-25T22:48:22Z","closed_at":"2016-01-25T22:48:22Z","body":"pip's handling of requirements files does not support a scenario like this one:\r\n\r\n    # common.txt\r\n    somepackage==1.0\r\n\r\n    # testing.txt\r\n    - r common.txt\r\n    test-tool==1.0\r\n\r\n    # development.txt\r\n    -r common.txt\r\n    -r testing.txt\r\n    developer-tool==1.0\r\n\r\nHere, `pip install -r development.txt` will complain about a double requirement `somepackage==1.0` and quit.\r\n\r\nBecause of that, I have to duplicate my testing requirements in my development.txt. Not a big deal, but it would be nice if pip could handle this. For this scenario, it seems that it would be sufficient to just ignore the duplicate `-r` line, so this would probably be easier to implement than #56."}}