{"action":"closed","number":20250,"pull_request":{"url":"https://api.github.com/repos/tensorflow/tensorflow/pulls/20250","id":196917362,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk2OTE3MzYy","html_url":"https://github.com/tensorflow/tensorflow/pull/20250","diff_url":"https://github.com/tensorflow/tensorflow/pull/20250.diff","patch_url":"https://github.com/tensorflow/tensorflow/pull/20250.patch","issue_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/20250","number":20250,"state":"closed","locked":false,"title":"Fix build issue while creating Python API","user":{"login":"yongtang","id":6932348,"node_id":"MDQ6VXNlcjY5MzIzNDg=","avatar_url":"https://avatars0.githubusercontent.com/u/6932348?v=4","gravatar_id":"","url":"https://api.github.com/users/yongtang","html_url":"https://github.com/yongtang","followers_url":"https://api.github.com/users/yongtang/followers","following_url":"https://api.github.com/users/yongtang/following{/other_user}","gists_url":"https://api.github.com/users/yongtang/gists{/gist_id}","starred_url":"https://api.github.com/users/yongtang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yongtang/subscriptions","organizations_url":"https://api.github.com/users/yongtang/orgs","repos_url":"https://api.github.com/users/yongtang/repos","events_url":"https://api.github.com/users/yongtang/events{/privacy}","received_events_url":"https://api.github.com/users/yongtang/received_events","type":"User","site_admin":false},"body":"This fix tries to address the issue raised in #20233 where build could fail with the following error:\r\n```\r\n\"/var/tmp/portage/sci-libs/tensorflow-1.9.0_rc1/work/bazel-base-python3_6/execroot/org_tensorflow/bazel-out/host/bin/tensorflow/tools/api/generator/create_python_api.runfiles/org_tensorflow/tensorflow/tools/api/generator/create_python_api.py\", line 182, in get_api_init_text\r\n    package not in module.__name__):\r\nTypeError: argument of type 'NoneType' is not iterable\r\nTarget //tensorflow/tools/pip_package:build_pip_package failed to build\r\nINFO: Elapsed time: 3202.457s, Critical Path: 83.98s\r\nINFO: 4901 processes, local.\r\nFAILED: Build did NOT complete successfully\r\nFAILED: Build did NOT complete successfully\r\n```\r\n\r\nThis fix addresses the issue.\r\n\r\nThis fix fixes #20233.\r\n\r\nNOTE: The patch is provided by @cjmayo (👍 )\r\n\r\nSigned-off-by: Yong Tang <yong.tang.github@outlook.com>","created_at":"2018-06-23T19:30:51Z","updated_at":"2018-06-25T20:04:51Z","closed_at":"2018-06-25T20:04:50Z","merged_at":"2018-06-25T20:04:50Z","merge_commit_sha":"9590c4c32dd4346ea5c35673336f5912c6072bf2","assignee":{"login":"qlzh727","id":5118881,"node_id":"MDQ6VXNlcjUxMTg4ODE=","avatar_url":"https://avatars3.githubusercontent.com/u/5118881?v=4","gravatar_id":"","url":"https://api.github.com/users/qlzh727","html_url":"https://github.com/qlzh727","followers_url":"https://api.github.com/users/qlzh727/followers","following_url":"https://api.github.com/users/qlzh727/following{/other_user}","gists_url":"https://api.github.com/users/qlzh727/gists{/gist_id}","starred_url":"https://api.github.com/users/qlzh727/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qlzh727/subscriptions","organizations_url":"https://api.github.com/users/qlzh727/orgs","repos_url":"https://api.github.com/users/qlzh727/repos","events_url":"https://api.github.com/users/qlzh727/events{/privacy}","received_events_url":"https://api.github.com/users/qlzh727/received_events","type":"User","site_admin":false},"assignees":[{"login":"qlzh727","id":5118881,"node_id":"MDQ6VXNlcjUxMTg4ODE=","avatar_url":"https://avatars3.githubusercontent.com/u/5118881?v=4","gravatar_id":"","url":"https://api.github.com/users/qlzh727","html_url":"https://github.com/qlzh727","followers_url":"https://api.github.com/users/qlzh727/followers","following_url":"https://api.github.com/users/qlzh727/following{/other_user}","gists_url":"https://api.github.com/users/qlzh727/gists{/gist_id}","starred_url":"https://api.github.com/users/qlzh727/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qlzh727/subscriptions","organizations_url":"https://api.github.com/users/qlzh727/orgs","repos_url":"https://api.github.com/users/qlzh727/repos","events_url":"https://api.github.com/users/qlzh727/events{/privacy}","received_events_url":"https://api.github.com/users/qlzh727/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":419840263,"node_id":"MDU6TGFiZWw0MTk4NDAyNjM=","url":"https://api.github.com/repos/tensorflow/tensorflow/labels/awaiting%20testing%20(then%20merge)","name":"awaiting testing (then merge)","color":"c2e0c6","default":false},{"id":300136587,"node_id":"MDU6TGFiZWwzMDAxMzY1ODc=","url":"https://api.github.com/repos/tensorflow/tensorflow/labels/cla:%20yes","name":"cla: yes","color":"009800","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/tensorflow/tensorflow/pulls/20250/commits","review_comments_url":"https://api.github.com/repos/tensorflow/tensorflow/pulls/20250/comments","review_comment_url":"https://api.github.com/repos/tensorflow/tensorflow/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/20250/comments","statuses_url":"https://api.github.com/repos/tensorflow/tensorflow/statuses/19bceac39caa4c629f4c1c29765f42c61a0bad76","head":{"label":"yongtang:20233-create_python_api","ref":"20233-create_python_api","sha":"19bceac39caa4c629f4c1c29765f42c61a0bad76","user":{"login":"yongtang","id":6932348,"node_id":"MDQ6VXNlcjY5MzIzNDg=","avatar_url":"https://avatars0.githubusercontent.com/u/6932348?v=4","gravatar_id":"","url":"https://api.github.com/users/yongtang","html_url":"https://github.com/yongtang","followers_url":"https://api.github.com/users/yongtang/followers","following_url":"https://api.github.com/users/yongtang/following{/other_user}","gists_url":"https://api.github.com/users/yongtang/gists{/gist_id}","starred_url":"https://api.github.com/users/yongtang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yongtang/subscriptions","organizations_url":"https://api.github.com/users/yongtang/orgs","repos_url":"https://api.github.com/users/yongtang/repos","events_url":"https://api.github.com/users/yongtang/events{/privacy}","received_events_url":"https://api.github.com/users/yongtang/received_events","type":"User","site_admin":false},"repo":{"id":83927595,"node_id":"MDEwOlJlcG9zaXRvcnk4MzkyNzU5NQ==","name":"tensorflow","full_name":"yongtang/tensorflow","owner":{"login":"yongtang","id":6932348,"node_id":"MDQ6VXNlcjY5MzIzNDg=","avatar_url":"https://avatars0.githubusercontent.com/u/6932348?v=4","gravatar_id":"","url":"https://api.github.com/users/yongtang","html_url":"https://github.com/yongtang","followers_url":"https://api.github.com/users/yongtang/followers","following_url":"https://api.github.com/users/yongtang/following{/other_user}","gists_url":"https://api.github.com/users/yongtang/gists{/gist_id}","starred_url":"https://api.github.com/users/yongtang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yongtang/subscriptions","organizations_url":"https://api.github.com/users/yongtang/orgs","repos_url":"https://api.github.com/users/yongtang/repos","events_url":"https://api.github.com/users/yongtang/events{/privacy}","received_events_url":"https://api.github.com/users/yongtang/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yongtang/tensorflow","description":"Computation using data flow graphs for scalable machine learning","fork":true,"url":"https://api.github.com/repos/yongtang/tensorflow","forks_url":"https://api.github.com/repos/yongtang/tensorflow/forks","keys_url":"https://api.github.com/repos/yongtang/tensorflow/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yongtang/tensorflow/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yongtang/tensorflow/teams","hooks_url":"https://api.github.com/repos/yongtang/tensorflow/hooks","issue_events_url":"https://api.github.com/repos/yongtang/tensorflow/issues/events{/number}","events_url":"https://api.github.com/repos/yongtang/tensorflow/events","assignees_url":"https://api.github.com/repos/yongtang/tensorflow/assignees{/user}","branches_url":"https://api.github.com/repos/yongtang/tensorflow/branches{/branch}","tags_url":"https://api.github.com/repos/yongtang/tensorflow/tags","blobs_url":"https://api.github.com/repos/yongtang/tensorflow/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yongtang/tensorflow/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yongtang/tensorflow/git/refs{/sha}","trees_url":"https://api.github.com/repos/yongtang/tensorflow/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yongtang/tensorflow/statuses/{sha}","languages_url":"https://api.github.com/repos/yongtang/tensorflow/languages","stargazers_url":"https://api.github.com/repos/yongtang/tensorflow/stargazers","contributors_url":"https://api.github.com/repos/yongtang/tensorflow/contributors","subscribers_url":"https://api.github.com/repos/yongtang/tensorflow/subscribers","subscription_url":"https://api.github.com/repos/yongtang/tensorflow/subscription","commits_url":"https://api.github.com/repos/yongtang/tensorflow/commits{/sha}","git_commits_url":"https://api.github.com/repos/yongtang/tensorflow/git/commits{/sha}","comments_url":"https://api.github.com/repos/yongtang/tensorflow/comments{/number}","issue_comment_url":"https://api.github.com/repos/yongtang/tensorflow/issues/comments{/number}","contents_url":"https://api.github.com/repos/yongtang/tensorflow/contents/{+path}","compare_url":"https://api.github.com/repos/yongtang/tensorflow/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yongtang/tensorflow/merges","archive_url":"https://api.github.com/repos/yongtang/tensorflow/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yongtang/tensorflow/downloads","issues_url":"https://api.github.com/repos/yongtang/tensorflow/issues{/number}","pulls_url":"https://api.github.com/repos/yongtang/tensorflow/pulls{/number}","milestones_url":"https://api.github.com/repos/yongtang/tensorflow/milestones{/number}","notifications_url":"https://api.github.com/repos/yongtang/tensorflow/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yongtang/tensorflow/labels{/name}","releases_url":"https://api.github.com/repos/yongtang/tensorflow/releases{/id}","deployments_url":"https://api.github.com/repos/yongtang/tensorflow/deployments","created_at":"2017-03-04T22:02:53Z","updated_at":"2018-06-25T15:41:20Z","pushed_at":"2018-06-25T16:33:57Z","git_url":"git://github.com/yongtang/tensorflow.git","ssh_url":"git@github.com:yongtang/tensorflow.git","clone_url":"https://github.com/yongtang/tensorflow.git","svn_url":"https://github.com/yongtang/tensorflow","homepage":"http://tensorflow.org","size":177614,"stargazers_count":1,"watchers_count":1,"language":"C++","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"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":2,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"tensorflow:master","ref":"master","sha":"c1d223de41838e9d387a48137c76ea39d3b38f3f","user":{"login":"tensorflow","id":15658638,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1NjU4NjM4","avatar_url":"https://avatars1.githubusercontent.com/u/15658638?v=4","gravatar_id":"","url":"https://api.github.com/users/tensorflow","html_url":"https://github.com/tensorflow","followers_url":"https://api.github.com/users/tensorflow/followers","following_url":"https://api.github.com/users/tensorflow/following{/other_user}","gists_url":"https://api.github.com/users/tensorflow/gists{/gist_id}","starred_url":"https://api.github.com/users/tensorflow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tensorflow/subscriptions","organizations_url":"https://api.github.com/users/tensorflow/orgs","repos_url":"https://api.github.com/users/tensorflow/repos","events_url":"https://api.github.com/users/tensorflow/events{/privacy}","received_events_url":"https://api.github.com/users/tensorflow/received_events","type":"Organization","site_admin":false},"repo":{"id":45717250,"node_id":"MDEwOlJlcG9zaXRvcnk0NTcxNzI1MA==","name":"tensorflow","full_name":"tensorflow/tensorflow","owner":{"login":"tensorflow","id":15658638,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1NjU4NjM4","avatar_url":"https://avatars1.githubusercontent.com/u/15658638?v=4","gravatar_id":"","url":"https://api.github.com/users/tensorflow","html_url":"https://github.com/tensorflow","followers_url":"https://api.github.com/users/tensorflow/followers","following_url":"https://api.github.com/users/tensorflow/following{/other_user}","gists_url":"https://api.github.com/users/tensorflow/gists{/gist_id}","starred_url":"https://api.github.com/users/tensorflow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tensorflow/subscriptions","organizations_url":"https://api.github.com/users/tensorflow/orgs","repos_url":"https://api.github.com/users/tensorflow/repos","events_url":"https://api.github.com/users/tensorflow/events{/privacy}","received_events_url":"https://api.github.com/users/tensorflow/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tensorflow/tensorflow","description":"Computation using data flow graphs for scalable machine learning","fork":false,"url":"https://api.github.com/repos/tensorflow/tensorflow","forks_url":"https://api.github.com/repos/tensorflow/tensorflow/forks","keys_url":"https://api.github.com/repos/tensorflow/tensorflow/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tensorflow/tensorflow/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tensorflow/tensorflow/teams","hooks_url":"https://api.github.com/repos/tensorflow/tensorflow/hooks","issue_events_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/events{/number}","events_url":"https://api.github.com/repos/tensorflow/tensorflow/events","assignees_url":"https://api.github.com/repos/tensorflow/tensorflow/assignees{/user}","branches_url":"https://api.github.com/repos/tensorflow/tensorflow/branches{/branch}","tags_url":"https://api.github.com/repos/tensorflow/tensorflow/tags","blobs_url":"https://api.github.com/repos/tensorflow/tensorflow/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tensorflow/tensorflow/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tensorflow/tensorflow/git/refs{/sha}","trees_url":"https://api.github.com/repos/tensorflow/tensorflow/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tensorflow/tensorflow/statuses/{sha}","languages_url":"https://api.github.com/repos/tensorflow/tensorflow/languages","stargazers_url":"https://api.github.com/repos/tensorflow/tensorflow/stargazers","contributors_url":"https://api.github.com/repos/tensorflow/tensorflow/contributors","subscribers_url":"https://api.github.com/repos/tensorflow/tensorflow/subscribers","subscription_url":"https://api.github.com/repos/tensorflow/tensorflow/subscription","commits_url":"https://api.github.com/repos/tensorflow/tensorflow/commits{/sha}","git_commits_url":"https://api.github.com/repos/tensorflow/tensorflow/git/commits{/sha}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/comments{/number}","issue_comment_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/comments{/number}","contents_url":"https://api.github.com/repos/tensorflow/tensorflow/contents/{+path}","compare_url":"https://api.github.com/repos/tensorflow/tensorflow/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tensorflow/tensorflow/merges","archive_url":"https://api.github.com/repos/tensorflow/tensorflow/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tensorflow/tensorflow/downloads","issues_url":"https://api.github.com/repos/tensorflow/tensorflow/issues{/number}","pulls_url":"https://api.github.com/repos/tensorflow/tensorflow/pulls{/number}","milestones_url":"https://api.github.com/repos/tensorflow/tensorflow/milestones{/number}","notifications_url":"https://api.github.com/repos/tensorflow/tensorflow/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tensorflow/tensorflow/labels{/name}","releases_url":"https://api.github.com/repos/tensorflow/tensorflow/releases{/id}","deployments_url":"https://api.github.com/repos/tensorflow/tensorflow/deployments","created_at":"2015-11-07T01:19:20Z","updated_at":"2018-06-25T20:03:41Z","pushed_at":"2018-06-25T20:04:50Z","git_url":"git://github.com/tensorflow/tensorflow.git","ssh_url":"git@github.com:tensorflow/tensorflow.git","clone_url":"https://github.com/tensorflow/tensorflow.git","svn_url":"https://github.com/tensorflow/tensorflow","homepage":"https://tensorflow.org","size":178015,"stargazers_count":103481,"watchers_count":103481,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":64612,"mirror_url":null,"archived":false,"open_issues_count":1645,"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":64612,"open_issues":1645,"watchers":103481,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tensorflow/tensorflow/pulls/20250"},"html":{"href":"https://github.com/tensorflow/tensorflow/pull/20250"},"issue":{"href":"https://api.github.com/repos/tensorflow/tensorflow/issues/20250"},"comments":{"href":"https://api.github.com/repos/tensorflow/tensorflow/issues/20250/comments"},"review_comments":{"href":"https://api.github.com/repos/tensorflow/tensorflow/pulls/20250/comments"},"review_comment":{"href":"https://api.github.com/repos/tensorflow/tensorflow/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tensorflow/tensorflow/pulls/20250/commits"},"statuses":{"href":"https://api.github.com/repos/tensorflow/tensorflow/statuses/19bceac39caa4c629f4c1c29765f42c61a0bad76"}},"author_association":"MEMBER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"qlzh727","id":5118881,"node_id":"MDQ6VXNlcjUxMTg4ODE=","avatar_url":"https://avatars3.githubusercontent.com/u/5118881?v=4","gravatar_id":"","url":"https://api.github.com/users/qlzh727","html_url":"https://github.com/qlzh727","followers_url":"https://api.github.com/users/qlzh727/followers","following_url":"https://api.github.com/users/qlzh727/following{/other_user}","gists_url":"https://api.github.com/users/qlzh727/gists{/gist_id}","starred_url":"https://api.github.com/users/qlzh727/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qlzh727/subscriptions","organizations_url":"https://api.github.com/users/qlzh727/orgs","repos_url":"https://api.github.com/users/qlzh727/repos","events_url":"https://api.github.com/users/qlzh727/events{/privacy}","received_events_url":"https://api.github.com/users/qlzh727/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"qlzh727"}}