{"action":"created","issue":{"url":"https://api.github.com/repos/pantsbuild/pex/issues/312","repository_url":"https://api.github.com/repos/pantsbuild/pex","labels_url":"https://api.github.com/repos/pantsbuild/pex/issues/312/labels{/name}","comments_url":"https://api.github.com/repos/pantsbuild/pex/issues/312/comments","events_url":"https://api.github.com/repos/pantsbuild/pex/issues/312/events","html_url":"https://github.com/pantsbuild/pex/pull/312","id":186833608,"number":312,"title":"scrub Extras from sys.path on macOS Sierra","user":{"login":"JustinVenus","id":174843,"avatar_url":"https://avatars.githubusercontent.com/u/174843?v=3","gravatar_id":"","url":"https://api.github.com/users/JustinVenus","html_url":"https://github.com/JustinVenus","followers_url":"https://api.github.com/users/JustinVenus/followers","following_url":"https://api.github.com/users/JustinVenus/following{/other_user}","gists_url":"https://api.github.com/users/JustinVenus/gists{/gist_id}","starred_url":"https://api.github.com/users/JustinVenus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JustinVenus/subscriptions","organizations_url":"https://api.github.com/users/JustinVenus/orgs","repos_url":"https://api.github.com/users/JustinVenus/repos","events_url":"https://api.github.com/users/JustinVenus/events{/privacy}","received_events_url":"https://api.github.com/users/JustinVenus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-11-02T15:28:27Z","updated_at":"2016-11-02T20:36:25Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/pantsbuild/pex/pulls/312","html_url":"https://github.com/pantsbuild/pex/pull/312","diff_url":"https://github.com/pantsbuild/pex/pull/312.diff","patch_url":"https://github.com/pantsbuild/pex/pull/312.patch"},"body":"### Pre ReviewBoard Travis/CI run\r\n\r\nThis change removes two paths from sys.path on macOS/OSX.  This prevents outdated/undesirable packages such as `six==1.4` from being loaded before the desired versions specified in PEX-INFO."},"comment":{"url":"https://api.github.com/repos/pantsbuild/pex/issues/comments/257990988","html_url":"https://github.com/pantsbuild/pex/pull/312#issuecomment-257990988","issue_url":"https://api.github.com/repos/pantsbuild/pex/issues/312","id":257990988,"user":{"login":"JustinVenus","id":174843,"avatar_url":"https://avatars.githubusercontent.com/u/174843?v=3","gravatar_id":"","url":"https://api.github.com/users/JustinVenus","html_url":"https://github.com/JustinVenus","followers_url":"https://api.github.com/users/JustinVenus/followers","following_url":"https://api.github.com/users/JustinVenus/following{/other_user}","gists_url":"https://api.github.com/users/JustinVenus/gists{/gist_id}","starred_url":"https://api.github.com/users/JustinVenus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JustinVenus/subscriptions","organizations_url":"https://api.github.com/users/JustinVenus/orgs","repos_url":"https://api.github.com/users/JustinVenus/repos","events_url":"https://api.github.com/users/JustinVenus/events{/privacy}","received_events_url":"https://api.github.com/users/JustinVenus/received_events","type":"User","site_admin":false},"created_at":"2016-11-02T20:36:25Z","updated_at":"2016-11-02T20:36:25Z","body":"This should now work.\r\n```sh\r\njvenus-signal-mbp13:pex jvenus$ env PEX_INTERPRETER=1 PEX_IGNORE_RCFILES=1 PEX_PYTHON=/usr/bin/python2.7 pex --python=/usr/bin/python2.7 .\r\nPython 2.7.10 (default, Jul 30 2016, 18:31:42)\r\n[GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.34)] on darwin\r\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\r\n(InteractiveConsole)\r\n>>> import sys\r\n>>> sys.path.insert(0, '')\r\n>>> from pex.pex import PEX\r\n>>> for path in PEX._extras_paths():\r\n...   print(path)\r\n...\r\n/Library/Python/2.7/site-packages\r\n/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python\r\n/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC\r\n```"}}
{"actor":{"display_login":"JustinVenus"}}