{"action":"created","issue":{"url":"https://api.github.com/repos/bazelbuild/rules_python/issues/98","repository_url":"https://api.github.com/repos/bazelbuild/rules_python","labels_url":"https://api.github.com/repos/bazelbuild/rules_python/issues/98/labels{/name}","comments_url":"https://api.github.com/repos/bazelbuild/rules_python/issues/98/comments","events_url":"https://api.github.com/repos/bazelbuild/rules_python/issues/98/events","html_url":"https://github.com/bazelbuild/rules_python/issues/98","id":323197698,"node_id":"MDU6SXNzdWUzMjMxOTc2OTg=","number":98,"title":"rules_python broken at HEAD with Bazel > 0.12","user":{"login":"lfpino","id":8587424,"node_id":"MDQ6VXNlcjg1ODc0MjQ=","avatar_url":"https://avatars3.githubusercontent.com/u/8587424?v=4","gravatar_id":"","url":"https://api.github.com/users/lfpino","html_url":"https://github.com/lfpino","followers_url":"https://api.github.com/users/lfpino/followers","following_url":"https://api.github.com/users/lfpino/following{/other_user}","gists_url":"https://api.github.com/users/lfpino/gists{/gist_id}","starred_url":"https://api.github.com/users/lfpino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lfpino/subscriptions","organizations_url":"https://api.github.com/users/lfpino/orgs","repos_url":"https://api.github.com/users/lfpino/repos","events_url":"https://api.github.com/users/lfpino/events{/privacy}","received_events_url":"https://api.github.com/users/lfpino/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-05-15T12:33:53Z","updated_at":"2018-08-22T09:15:42Z","closed_at":null,"author_association":"NONE","body":"Hi there,\r\n\r\nI'm the Bazel release manager and I've been investigating the rules_python failures (https://buildkite.com/bazel/bazel-with-downstream-projects-bazel/builds/233#14f47bce-4863-42cf-9179-fe4b1be650a8) in the new release candidate for Bazel 0.14.0. After trying to reproduce this in my macOS I realized that the failures are also present with Bazel 0.12.0 as follows:\r\n\r\n```\r\n$ git clone https://github.com/bazelbuild/rules_python.git\r\n$ cd rules_python\r\n$ /tmp/download/bazel-0.12.0-darwin-x86_64 test //examples/boto:boto_test\r\nINFO: Analysed target //examples/boto:boto_test (23 packages loaded).\r\nINFO: Found 1 test target...\r\nFAIL: //examples/boto:boto_test (see /private/var/tmp/_bazel_lpino/4cea827263cf09da0a5ddbf48df3f327/execroot/io_bazel_rules_python/bazel-out/darwin-fastbuild/testlogs/examples/boto/boto_test/test.log)\r\nTarget //examples/boto:boto_test up-to-date:\r\n  bazel-bin/examples/boto/boto_test\r\nINFO: Elapsed time: 3.315s, Critical Path: 1.16s\r\nINFO: Build completed, 1 test FAILED, 5 total actions\r\n//examples/boto:boto_test                                                FAILED in 1.0s\r\n  /private/var/tmp/_bazel_lpino/4cea827263cf09da0a5ddbf48df3f327/execroot/io_bazel_rules_python/bazel-out/darwin-fastbuild/testlogs/examples/boto/boto_test/test.log\r\n\r\n$ cat /private/var/tmp/_bazel_lpino/4cea827263cf09da0a5ddbf48df3f327/execroot/io_bazel_rules_python/bazel-out/darwin-fastbuild/testlogs/examples/boto/boto_test/test.log\r\nexec ${PAGER:-/usr/bin/less} \"$0\" || exit 1\r\n-----------------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/private/var/tmp/_bazel_lpino/4cea827263cf09da0a5ddbf48df3f327/bazel-sandbox/5352791971010170471/execroot/io_bazel_rules_python/bazel-out/darwin-fastbuild/bin/examples/boto/boto_test.runfiles/io_bazel_rules_python/examples/boto/boto_test.py\", line 15, in <module>\r\n    import boto3\r\n  File \"/private/var/tmp/_bazel_lpino/4cea827263cf09da0a5ddbf48df3f327/bazel-sandbox/5352791971010170471/execroot/io_bazel_rules_python/bazel-out/darwin-fastbuild/bin/examples/boto/boto_test.runfiles/pypi__boto3_1_4_7/boto3/__init__.py\", line 16, in <module>\r\n    from boto3.session import Session\r\n  File \"/private/var/tmp/_bazel_lpino/4cea827263cf09da0a5ddbf48df3f327/bazel-sandbox/5352791971010170471/execroot/io_bazel_rules_python/bazel-out/darwin-fastbuild/bin/examples/boto/boto_test.runfiles/pypi__boto3_1_4_7/boto3/session.py\", line 17, in <module>\r\n    import botocore.session\r\n  File \"/private/var/tmp/_bazel_lpino/4cea827263cf09da0a5ddbf48df3f327/bazel-sandbox/5352791971010170471/execroot/io_bazel_rules_python/bazel-out/darwin-fastbuild/bin/examples/boto/boto_test.runfiles/pypi__botocore_1_7_48/botocore/session.py\", line 26, in <module>\r\n    import botocore.credentials\r\n  File \"/private/var/tmp/_bazel_lpino/4cea827263cf09da0a5ddbf48df3f327/bazel-sandbox/5352791971010170471/execroot/io_bazel_rules_python/bazel-out/darwin-fastbuild/bin/examples/boto/boto_test.runfiles/pypi__botocore_1_7_48/botocore/credentials.py\", line 22, in <module>\r\n    from dateutil.parser import parse\r\n  File \"/private/var/tmp/_bazel_lpino/4cea827263cf09da0a5ddbf48df3f327/bazel-sandbox/5352791971010170471/execroot/io_bazel_rules_python/bazel-out/darwin-fastbuild/bin/examples/boto/boto_test.runfiles/pypi__python_dateutil_2_7_3/dateutil/parser/__init__.py\", line 2, in <module>\r\n    from ._parser import parse, parser, parserinfo\r\n  File \"/private/var/tmp/_bazel_lpino/4cea827263cf09da0a5ddbf48df3f327/bazel-sandbox/5352791971010170471/execroot/io_bazel_rules_python/bazel-out/darwin-fastbuild/bin/examples/boto/boto_test.runfiles/pypi__python_dateutil_2_7_3/dateutil/parser/_parser.py\", line 50, in <module>\r\n    from .. import tz\r\n  File \"/private/var/tmp/_bazel_lpino/4cea827263cf09da0a5ddbf48df3f327/bazel-sandbox/5352791971010170471/execroot/io_bazel_rules_python/bazel-out/darwin-fastbuild/bin/examples/boto/boto_test.runfiles/pypi__python_dateutil_2_7_3/dateutil/tz/__init__.py\", line 2, in <module>\r\n    from .tz import *\r\n  File \"/private/var/tmp/_bazel_lpino/4cea827263cf09da0a5ddbf48df3f327/bazel-sandbox/5352791971010170471/execroot/io_bazel_rules_python/bazel-out/darwin-fastbuild/bin/examples/boto/boto_test.runfiles/pypi__python_dateutil_2_7_3/dateutil/tz/tz.py\", line 19, in <module>\r\n    from six.moves import _thread\r\nImportError: cannot import name _thread\r\nExecuted 1 out of 1 test: 1 fails locally.\r\n```\r\n\r\nGiven this I think the failures are unrelated to a recent change in Bazel itself."},"comment":{"url":"https://api.github.com/repos/bazelbuild/rules_python/issues/comments/414967729","html_url":"https://github.com/bazelbuild/rules_python/issues/98#issuecomment-414967729","issue_url":"https://api.github.com/repos/bazelbuild/rules_python/issues/98","id":414967729,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDk2NzcyOQ==","user":{"login":"meteorcloudy","id":4171702,"node_id":"MDQ6VXNlcjQxNzE3MDI=","avatar_url":"https://avatars2.githubusercontent.com/u/4171702?v=4","gravatar_id":"","url":"https://api.github.com/users/meteorcloudy","html_url":"https://github.com/meteorcloudy","followers_url":"https://api.github.com/users/meteorcloudy/followers","following_url":"https://api.github.com/users/meteorcloudy/following{/other_user}","gists_url":"https://api.github.com/users/meteorcloudy/gists{/gist_id}","starred_url":"https://api.github.com/users/meteorcloudy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meteorcloudy/subscriptions","organizations_url":"https://api.github.com/users/meteorcloudy/orgs","repos_url":"https://api.github.com/users/meteorcloudy/repos","events_url":"https://api.github.com/users/meteorcloudy/events{/privacy}","received_events_url":"https://api.github.com/users/meteorcloudy/received_events","type":"User","site_admin":false},"created_at":"2018-08-22T09:15:42Z","updated_at":"2018-08-22T09:15:42Z","author_association":"MEMBER","body":"Any progress on this? "}}
{"actor":{"display_login":"meteorcloudy"}}