{"action":"created","issue":{"url":"https://api.github.com/repos/pypa/pip/issues/4024","repository_url":"https://api.github.com/repos/pypa/pip","labels_url":"https://api.github.com/repos/pypa/pip/issues/4024/labels{/name}","comments_url":"https://api.github.com/repos/pypa/pip/issues/4024/comments","events_url":"https://api.github.com/repos/pypa/pip/issues/4024/events","html_url":"https://github.com/pypa/pip/issues/4024","id":184096524,"number":4024,"title":"pip doesn't accept forward slashes as path separators under Windows","user":{"login":"brechtm","id":652887,"avatar_url":"https://avatars.githubusercontent.com/u/652887?v=3","gravatar_id":"","url":"https://api.github.com/users/brechtm","html_url":"https://github.com/brechtm","followers_url":"https://api.github.com/users/brechtm/followers","following_url":"https://api.github.com/users/brechtm/following{/other_user}","gists_url":"https://api.github.com/users/brechtm/gists{/gist_id}","starred_url":"https://api.github.com/users/brechtm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brechtm/subscriptions","organizations_url":"https://api.github.com/users/brechtm/orgs","repos_url":"https://api.github.com/users/brechtm/repos","events_url":"https://api.github.com/users/brechtm/events{/privacy}","received_events_url":"https://api.github.com/users/brechtm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-19T23:06:11Z","updated_at":"2016-10-25T21:36:47Z","closed_at":null,"body":"* Pip version: pip 8.1.2\r\n* Python version: 3.5.2\r\n* Operating System: Windows 10\r\n\r\n### Description:\r\n\r\nIt would be nice if pip would accept forward slashes as path separators on Windows when installing from a local directory. This is useful for cross-platform scripts (tox-dev/tox#384).\r\n\r\n### What I've run:\r\n\r\n```\r\npip install tests_regression/sphinx\r\n```\r\n\r\n```\r\nInvalid requirement: 'tests_regression/sphinx'\r\nTraceback (most recent call last):\r\n  File \"c:\\program files\\python35\\lib\\site-packages\\pip\\_vendor\\packaging\\requirements.py\", line 92, in __init__\r\n    req = REQUIREMENT.parseString(requirement_string)\r\n  File \"c:\\program files\\python35\\lib\\site-packages\\pip\\_vendor\\pyparsing.py\", line 1172, in parseString\r\n    raise exc\r\n  File \"c:\\program files\\python35\\lib\\site-packages\\pip\\_vendor\\pyparsing.py\", line 1162, in parseString\r\n    loc, tokens = self._parse( instring, 0 )\r\n  File \"c:\\program files\\python35\\lib\\site-packages\\pip\\_vendor\\pyparsing.py\", line 1028, in _parseNoCache\r\n    loc,tokens = self.parseImpl( instring, preloc, doActions )\r\n  File \"c:\\program files\\python35\\lib\\site-packages\\pip\\_vendor\\pyparsing.py\", line 2462, in parseImpl\r\n    loc, exprtokens = e._parse( instring, loc, doActions )\r\n  File \"c:\\program files\\python35\\lib\\site-packages\\pip\\_vendor\\pyparsing.py\", line 1032, in _parseNoCache\r\n    loc,tokens = self.parseImpl( instring, preloc, doActions )\r\n  File \"c:\\program files\\python35\\lib\\site-packages\\pip\\_vendor\\pyparsing.py\", line 2265, in parseImpl\r\n    raise ParseException(instring, loc, self.errmsg, self)\r\npip._vendor.pyparsing.ParseException: Expected stringEnd (at char 16), (line:1, col:17)\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"c:\\program files\\python35\\lib\\site-packages\\pip\\req\\req_install.py\", line 78, in __init__\r\n    req = Requirement(req)\r\n  File \"c:\\program files\\python35\\lib\\site-packages\\pip\\_vendor\\packaging\\requirements.py\", line 96, in __init__\r\n    requirement_string[e.loc:e.loc + 8]))\r\npip._vendor.packaging.requirements.InvalidRequirement: Invalid requirement, parse error at \"'/sphinx'\"\r\n```\r\n\r\nUsing the Windows-native backslash does work as expected."},"comment":{"url":"https://api.github.com/repos/pypa/pip/issues/comments/256183322","html_url":"https://github.com/pypa/pip/issues/4024#issuecomment-256183322","issue_url":"https://api.github.com/repos/pypa/pip/issues/4024","id":256183322,"user":{"login":"xavfernandez","id":1089744,"avatar_url":"https://avatars.githubusercontent.com/u/1089744?v=3","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},"created_at":"2016-10-25T21:36:47Z","updated_at":"2016-10-25T21:36:47Z","body":"If you use `pip install ./tests_regression/sphinx` instead, it should work, cf https://github.com/pypa/pip/blob/8.1.2/pip/req/req_install.py#L186-L187\r\n"}}
{"actor":{"display_login":"xavfernandez"}}