{"action":"created","comment":{"url":"https://api.github.com/repos/pantsbuild/pants/pulls/comments/212724482","pull_request_review_id":149422558,"id":212724482,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMjcyNDQ4Mg==","diff_hunk":"@@ -50,9 +52,7 @@ def __call__(self, name=None, dist=None):\n                                       msg='The {} target only works for pantsbuild.pants '\n                                           'distributions, given {}'.format(self.alias, dist))\n \n-    # TODO(John Sirois): Modify to constraint to >=3.5,<4 as part of\n-    # https://github.com/pantsbuild/pants/issues/6062\n-    env_marker = \"python_version>='2.7' and python_version<'3'\"\n+    env_marker = \"python_version>='3.4'\" if PY3 else \"python_version>='2.7' and python_version<'3'\"","path":"src/python/pants/backend/python/pants_requirement.py","position":16,"original_position":16,"commit_id":"d7305eeabd6c870ed2ff099c14b956ae0506b22e","original_commit_id":"d7305eeabd6c870ed2ff099c14b956ae0506b22e","user":{"login":"Eric-Arellano","id":14852634,"node_id":"MDQ6VXNlcjE0ODUyNjM0","avatar_url":"https://avatars3.githubusercontent.com/u/14852634?v=4","gravatar_id":"","url":"https://api.github.com/users/Eric-Arellano","html_url":"https://github.com/Eric-Arellano","followers_url":"https://api.github.com/users/Eric-Arellano/followers","following_url":"https://api.github.com/users/Eric-Arellano/following{/other_user}","gists_url":"https://api.github.com/users/Eric-Arellano/gists{/gist_id}","starred_url":"https://api.github.com/users/Eric-Arellano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eric-Arellano/subscriptions","organizations_url":"https://api.github.com/users/Eric-Arellano/orgs","repos_url":"https://api.github.com/users/Eric-Arellano/repos","events_url":"https://api.github.com/users/Eric-Arellano/events{/privacy}","received_events_url":"https://api.github.com/users/Eric-Arellano/received_events","type":"User","site_admin":false},"body":"Oh okay, so the desired behavior is allowing both Python 2 and Python 3? I misunderstood, thought it was to require Py2 if using Py2, require Py3 if using Py3.","created_at":"2018-08-24T18:57:24Z","updated_at":"2018-08-24T18:57:24Z","html_url":"https://github.com/pantsbuild/pants/pull/6391#discussion_r212724482","pull_request_url":"https://api.github.com/repos/pantsbuild/pants/pulls/6391","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/pantsbuild/pants/pulls/comments/212724482"},"html":{"href":"https://github.com/pantsbuild/pants/pull/6391#discussion_r212724482"},"pull_request":{"href":"https://api.github.com/repos/pantsbuild/pants/pulls/6391"}},"in_reply_to_id":212714321},"pull_request":{"url":"https://api.github.com/repos/pantsbuild/pants/pulls/6391","id":210809934,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEwODA5OTM0","html_url":"https://github.com/pantsbuild/pants/pull/6391","diff_url":"https://github.com/pantsbuild/pants/pull/6391.diff","patch_url":"https://github.com/pantsbuild/pants/pull/6391.patch","issue_url":"https://api.github.com/repos/pantsbuild/pants/issues/6391","number":6391,"state":"open","locked":false,"title":"Fix pants_requirement by allowing Python 3","user":{"login":"Eric-Arellano","id":14852634,"node_id":"MDQ6VXNlcjE0ODUyNjM0","avatar_url":"https://avatars3.githubusercontent.com/u/14852634?v=4","gravatar_id":"","url":"https://api.github.com/users/Eric-Arellano","html_url":"https://github.com/Eric-Arellano","followers_url":"https://api.github.com/users/Eric-Arellano/followers","following_url":"https://api.github.com/users/Eric-Arellano/following{/other_user}","gists_url":"https://api.github.com/users/Eric-Arellano/gists{/gist_id}","starred_url":"https://api.github.com/users/Eric-Arellano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eric-Arellano/subscriptions","organizations_url":"https://api.github.com/users/Eric-Arellano/orgs","repos_url":"https://api.github.com/users/Eric-Arellano/repos","events_url":"https://api.github.com/users/Eric-Arellano/events{/privacy}","received_events_url":"https://api.github.com/users/Eric-Arellano/received_events","type":"User","site_admin":false},"body":"Adds support for Py3 to https://github.com/pantsbuild/pants/pull/6361.","created_at":"2018-08-24T18:04:33Z","updated_at":"2018-08-24T18:57:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"10bc084c0ba041a531a930f36407c82ec3b33cd9","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/pantsbuild/pants/pulls/6391/commits","review_comments_url":"https://api.github.com/repos/pantsbuild/pants/pulls/6391/comments","review_comment_url":"https://api.github.com/repos/pantsbuild/pants/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pantsbuild/pants/issues/6391/comments","statuses_url":"https://api.github.com/repos/pantsbuild/pants/statuses/d7305eeabd6c870ed2ff099c14b956ae0506b22e","head":{"label":"Eric-Arellano:py3-green_pants-requirement","ref":"py3-green_pants-requirement","sha":"d7305eeabd6c870ed2ff099c14b956ae0506b22e","user":{"login":"Eric-Arellano","id":14852634,"node_id":"MDQ6VXNlcjE0ODUyNjM0","avatar_url":"https://avatars3.githubusercontent.com/u/14852634?v=4","gravatar_id":"","url":"https://api.github.com/users/Eric-Arellano","html_url":"https://github.com/Eric-Arellano","followers_url":"https://api.github.com/users/Eric-Arellano/followers","following_url":"https://api.github.com/users/Eric-Arellano/following{/other_user}","gists_url":"https://api.github.com/users/Eric-Arellano/gists{/gist_id}","starred_url":"https://api.github.com/users/Eric-Arellano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eric-Arellano/subscriptions","organizations_url":"https://api.github.com/users/Eric-Arellano/orgs","repos_url":"https://api.github.com/users/Eric-Arellano/repos","events_url":"https://api.github.com/users/Eric-Arellano/events{/privacy}","received_events_url":"https://api.github.com/users/Eric-Arellano/received_events","type":"User","site_admin":false},"repo":{"id":139469637,"node_id":"MDEwOlJlcG9zaXRvcnkxMzk0Njk2Mzc=","name":"pants","full_name":"Eric-Arellano/pants","owner":{"login":"Eric-Arellano","id":14852634,"node_id":"MDQ6VXNlcjE0ODUyNjM0","avatar_url":"https://avatars3.githubusercontent.com/u/14852634?v=4","gravatar_id":"","url":"https://api.github.com/users/Eric-Arellano","html_url":"https://github.com/Eric-Arellano","followers_url":"https://api.github.com/users/Eric-Arellano/followers","following_url":"https://api.github.com/users/Eric-Arellano/following{/other_user}","gists_url":"https://api.github.com/users/Eric-Arellano/gists{/gist_id}","starred_url":"https://api.github.com/users/Eric-Arellano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eric-Arellano/subscriptions","organizations_url":"https://api.github.com/users/Eric-Arellano/orgs","repos_url":"https://api.github.com/users/Eric-Arellano/repos","events_url":"https://api.github.com/users/Eric-Arellano/events{/privacy}","received_events_url":"https://api.github.com/users/Eric-Arellano/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Eric-Arellano/pants","description":"The Pants Build System","fork":true,"url":"https://api.github.com/repos/Eric-Arellano/pants","forks_url":"https://api.github.com/repos/Eric-Arellano/pants/forks","keys_url":"https://api.github.com/repos/Eric-Arellano/pants/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Eric-Arellano/pants/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Eric-Arellano/pants/teams","hooks_url":"https://api.github.com/repos/Eric-Arellano/pants/hooks","issue_events_url":"https://api.github.com/repos/Eric-Arellano/pants/issues/events{/number}","events_url":"https://api.github.com/repos/Eric-Arellano/pants/events","assignees_url":"https://api.github.com/repos/Eric-Arellano/pants/assignees{/user}","branches_url":"https://api.github.com/repos/Eric-Arellano/pants/branches{/branch}","tags_url":"https://api.github.com/repos/Eric-Arellano/pants/tags","blobs_url":"https://api.github.com/repos/Eric-Arellano/pants/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Eric-Arellano/pants/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Eric-Arellano/pants/git/refs{/sha}","trees_url":"https://api.github.com/repos/Eric-Arellano/pants/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Eric-Arellano/pants/statuses/{sha}","languages_url":"https://api.github.com/repos/Eric-Arellano/pants/languages","stargazers_url":"https://api.github.com/repos/Eric-Arellano/pants/stargazers","contributors_url":"https://api.github.com/repos/Eric-Arellano/pants/contributors","subscribers_url":"https://api.github.com/repos/Eric-Arellano/pants/subscribers","subscription_url":"https://api.github.com/repos/Eric-Arellano/pants/subscription","commits_url":"https://api.github.com/repos/Eric-Arellano/pants/commits{/sha}","git_commits_url":"https://api.github.com/repos/Eric-Arellano/pants/git/commits{/sha}","comments_url":"https://api.github.com/repos/Eric-Arellano/pants/comments{/number}","issue_comment_url":"https://api.github.com/repos/Eric-Arellano/pants/issues/comments{/number}","contents_url":"https://api.github.com/repos/Eric-Arellano/pants/contents/{+path}","compare_url":"https://api.github.com/repos/Eric-Arellano/pants/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Eric-Arellano/pants/merges","archive_url":"https://api.github.com/repos/Eric-Arellano/pants/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Eric-Arellano/pants/downloads","issues_url":"https://api.github.com/repos/Eric-Arellano/pants/issues{/number}","pulls_url":"https://api.github.com/repos/Eric-Arellano/pants/pulls{/number}","milestones_url":"https://api.github.com/repos/Eric-Arellano/pants/milestones{/number}","notifications_url":"https://api.github.com/repos/Eric-Arellano/pants/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Eric-Arellano/pants/labels{/name}","releases_url":"https://api.github.com/repos/Eric-Arellano/pants/releases{/id}","deployments_url":"https://api.github.com/repos/Eric-Arellano/pants/deployments","created_at":"2018-07-02T16:48:31Z","updated_at":"2018-08-24T18:12:51Z","pushed_at":"2018-08-24T18:12:49Z","git_url":"git://github.com/Eric-Arellano/pants.git","ssh_url":"git@github.com:Eric-Arellano/pants.git","clone_url":"https://github.com/Eric-Arellano/pants.git","svn_url":"https://github.com/Eric-Arellano/pants","homepage":"http://pantsbuild.org/","size":87223,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"pantsbuild:master","ref":"master","sha":"ad2223793c8c091d25eec5945ef9e3e0839d4a7b","user":{"login":"pantsbuild","id":3065172,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMwNjUxNzI=","avatar_url":"https://avatars0.githubusercontent.com/u/3065172?v=4","gravatar_id":"","url":"https://api.github.com/users/pantsbuild","html_url":"https://github.com/pantsbuild","followers_url":"https://api.github.com/users/pantsbuild/followers","following_url":"https://api.github.com/users/pantsbuild/following{/other_user}","gists_url":"https://api.github.com/users/pantsbuild/gists{/gist_id}","starred_url":"https://api.github.com/users/pantsbuild/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pantsbuild/subscriptions","organizations_url":"https://api.github.com/users/pantsbuild/orgs","repos_url":"https://api.github.com/users/pantsbuild/repos","events_url":"https://api.github.com/users/pantsbuild/events{/privacy}","received_events_url":"https://api.github.com/users/pantsbuild/received_events","type":"Organization","site_admin":false},"repo":{"id":7209075,"node_id":"MDEwOlJlcG9zaXRvcnk3MjA5MDc1","name":"pants","full_name":"pantsbuild/pants","owner":{"login":"pantsbuild","id":3065172,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMwNjUxNzI=","avatar_url":"https://avatars0.githubusercontent.com/u/3065172?v=4","gravatar_id":"","url":"https://api.github.com/users/pantsbuild","html_url":"https://github.com/pantsbuild","followers_url":"https://api.github.com/users/pantsbuild/followers","following_url":"https://api.github.com/users/pantsbuild/following{/other_user}","gists_url":"https://api.github.com/users/pantsbuild/gists{/gist_id}","starred_url":"https://api.github.com/users/pantsbuild/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pantsbuild/subscriptions","organizations_url":"https://api.github.com/users/pantsbuild/orgs","repos_url":"https://api.github.com/users/pantsbuild/repos","events_url":"https://api.github.com/users/pantsbuild/events{/privacy}","received_events_url":"https://api.github.com/users/pantsbuild/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pantsbuild/pants","description":"The Pants Build System","fork":false,"url":"https://api.github.com/repos/pantsbuild/pants","forks_url":"https://api.github.com/repos/pantsbuild/pants/forks","keys_url":"https://api.github.com/repos/pantsbuild/pants/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pantsbuild/pants/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pantsbuild/pants/teams","hooks_url":"https://api.github.com/repos/pantsbuild/pants/hooks","issue_events_url":"https://api.github.com/repos/pantsbuild/pants/issues/events{/number}","events_url":"https://api.github.com/repos/pantsbuild/pants/events","assignees_url":"https://api.github.com/repos/pantsbuild/pants/assignees{/user}","branches_url":"https://api.github.com/repos/pantsbuild/pants/branches{/branch}","tags_url":"https://api.github.com/repos/pantsbuild/pants/tags","blobs_url":"https://api.github.com/repos/pantsbuild/pants/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pantsbuild/pants/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pantsbuild/pants/git/refs{/sha}","trees_url":"https://api.github.com/repos/pantsbuild/pants/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pantsbuild/pants/statuses/{sha}","languages_url":"https://api.github.com/repos/pantsbuild/pants/languages","stargazers_url":"https://api.github.com/repos/pantsbuild/pants/stargazers","contributors_url":"https://api.github.com/repos/pantsbuild/pants/contributors","subscribers_url":"https://api.github.com/repos/pantsbuild/pants/subscribers","subscription_url":"https://api.github.com/repos/pantsbuild/pants/subscription","commits_url":"https://api.github.com/repos/pantsbuild/pants/commits{/sha}","git_commits_url":"https://api.github.com/repos/pantsbuild/pants/git/commits{/sha}","comments_url":"https://api.github.com/repos/pantsbuild/pants/comments{/number}","issue_comment_url":"https://api.github.com/repos/pantsbuild/pants/issues/comments{/number}","contents_url":"https://api.github.com/repos/pantsbuild/pants/contents/{+path}","compare_url":"https://api.github.com/repos/pantsbuild/pants/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pantsbuild/pants/merges","archive_url":"https://api.github.com/repos/pantsbuild/pants/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pantsbuild/pants/downloads","issues_url":"https://api.github.com/repos/pantsbuild/pants/issues{/number}","pulls_url":"https://api.github.com/repos/pantsbuild/pants/pulls{/number}","milestones_url":"https://api.github.com/repos/pantsbuild/pants/milestones{/number}","notifications_url":"https://api.github.com/repos/pantsbuild/pants/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pantsbuild/pants/labels{/name}","releases_url":"https://api.github.com/repos/pantsbuild/pants/releases{/id}","deployments_url":"https://api.github.com/repos/pantsbuild/pants/deployments","created_at":"2012-12-17T17:39:04Z","updated_at":"2018-08-23T17:13:14Z","pushed_at":"2018-08-24T18:19:12Z","git_url":"git://github.com/pantsbuild/pants.git","ssh_url":"git@github.com:pantsbuild/pants.git","clone_url":"https://github.com/pantsbuild/pants.git","svn_url":"https://github.com/pantsbuild/pants","homepage":"http://pantsbuild.org/","size":87216,"stargazers_count":1006,"watchers_count":1006,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":290,"mirror_url":null,"archived":false,"open_issues_count":690,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":290,"open_issues":690,"watchers":1006,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pantsbuild/pants/pulls/6391"},"html":{"href":"https://github.com/pantsbuild/pants/pull/6391"},"issue":{"href":"https://api.github.com/repos/pantsbuild/pants/issues/6391"},"comments":{"href":"https://api.github.com/repos/pantsbuild/pants/issues/6391/comments"},"review_comments":{"href":"https://api.github.com/repos/pantsbuild/pants/pulls/6391/comments"},"review_comment":{"href":"https://api.github.com/repos/pantsbuild/pants/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pantsbuild/pants/pulls/6391/commits"},"statuses":{"href":"https://api.github.com/repos/pantsbuild/pants/statuses/d7305eeabd6c870ed2ff099c14b956ae0506b22e"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"Eric-Arellano"}}