-
-
Notifications
You must be signed in to change notification settings - Fork 636
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
port buildgen to py3 #6110
port buildgen to py3 #6110
Conversation
Hey, this will need a rebase to master. Sorry for the trouble! |
thanks John! Feel free to add me to the reviewer lists. I am in the middle of moving but I will continue to swing by and look at patches once a day or so. |
The BUILD file is missing the dependency for “3rdparty/python:future”. Stu, you may want to revert this commit if or manually add that line before doing the release. I’m surprised the tests are passing on this and that we don’t get an import error. This slipped through because our script was only smart enough to add the line in certain cases. We updated our script so that it will always add the line when necessary, so going forward this shouldn’t happen. |
@Eric-Arellano ths is why tests pass:
|
Ah that makes more sense, thanks John. We still probably to explicitly add to the BUILD file in case this assumption breaks for whatever reason, right? We can submit a separate PR patching this if we don’t want to revert this merge. |
Yes, definitely. This is a bug to be fixed. No need to revert though and a new PR would be perfect. |
Fixing issue from the port of buildgen of missing dependency in BUILD file from #6110. While technically everything runs correctly without this declaration, that is an implementation detail that should not be relied upon.
Problem
Porting buildgen to py3. Needs references to str and object.
Solution
added builtins import for str and object