Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,7 @@ common --@rules_python//python/config_settings:bootstrap_impl=script
# bazel-orfs itself does (its own .bazelrc:7).
common --lockfile_mode=off

# Suppress debug-level UI messages (such as pycross extension warnings)
common --ui_event_filters=-debug

Comment on lines +31 to +33

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

critical

The --ui_event_filters flag in Bazel does not support debug as a valid event type. The only valid event types are stdout, stderr, info, warning, error, subcommand, fail, pass, and timeout. Adding --ui_event_filters=-debug will cause Bazel to fail to start with an option parsing error (e.g., Error in --ui_event_filters: invalid event filter 'debug'). If you want to suppress warnings from pycross, you would need to use -warning or -info, but doing so would suppress all warnings/info messages across the entire build, which is generally not recommended. It is better to remove this line entirely to avoid breaking the Bazel invocation.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmmm... seemed to work locally. Need to verify before I reopen.

try-import %workspace%/user.bazelrc