Skip to content

Conversation

mai93
Copy link
Contributor

@mai93 mai93 commented Oct 17, 2025

  • Update version of rules_cc to 0.2.10
  • Update version of protobuf to 33.0 which has load statements for rules_cc needed for bazel 9

Copy link
Collaborator

@rickeylev rickeylev left a comment

Choose a reason for hiding this comment

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

I pushed an update to the changelog.

Please update the PR description to explain why these bumps were necessary.

Mostly LGTM, sans the question and need to create deps.bzl function

py_repositories()

# Needed for rules_cc 0.2.10
load("@bazel_features//:deps.bzl", "bazel_features_deps")
Copy link
Collaborator

Choose a reason for hiding this comment

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

Instead of copy/pasting this same setup to every downstream workspace, create a second setup function and load and call that.

python/repositories_deps.bzl

which does the 4 lines

- "--noenable_bzlmod"
- "--build_tag_filters=-integration-test"
# recent abseil-cpp requires C++17 which is not used by default in Bazel 7
- "--cxxopt=-std=c++17"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can you explain a bit more about this? I'm guessing this is coming from protobuf?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants