-
-
Notifications
You must be signed in to change notification settings - Fork 630
chore: cleanup bazel flags related to bazel 6 or below #3282
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
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wow. We had quite a bit of compatibility code for Bazel 6. Thanks for cleaning house!
# Because this file isn't bundled with Bazel, so we have to conditionally | ||
# check for this flag. | ||
# TODO: Remove this once all supported Balze versions have this flag. | ||
# TODO: Remove this once all supported Blaze versions have this flag. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can be removed.
def _is_singleton_depset(files): | ||
# Bazel 6 doesn't have this helper to optimize detecting singleton depsets. | ||
if _py_builtins: | ||
return _py_builtins.is_singleton_depset(files) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please keep the py_builtins.is_singleton_depset. It's a minor optimization, but I like it.
48af9b2
to
f2e3791
Compare
So it is failing due to And the rc is soft failing, I need to check what is going on. |
Just a bunch of cleanup that we can now do.