Skip to content

Update cc_proto to 0.1.0 and remove rules_proto dep#1210

Closed
kgreenek wants to merge 2 commits intobufbuild:mainfrom
kgreenek:kgk/rules_cc-010
Closed

Update cc_proto to 0.1.0 and remove rules_proto dep#1210
kgreenek wants to merge 2 commits intobufbuild:mainfrom
kgreenek:kgk/rules_cc-010

Conversation

@kgreenek
Copy link
Contributor

Closes #1199

rules_proto has been deprecated and should no longer be used.

rules_cc removed the proto-related bazel rules as of 0.1.0. Instead, these rules now live in com_google_protobuf and should be used from there.

Several other dependencies also had to be updated to support the changes in com_google_protobuf and cc_proto.

Closes bufbuild#1199

rules_proto has been deprecated and should no longer be used.

rules_cc removed the proto-related bazel rules as of 0.1.0. Instead,
these rules now live in com_google_protobuf and should be used from
there.

Several other dependencies also had to be updated to support the changes
in com_google_protobuf and cc_proto.
@CLAassistant
Copy link

CLAassistant commented Dec 27, 2024

CLA assistant check
All committers have signed the CLA.

@kgreenek
Copy link
Contributor Author

kgreenek commented Dec 31, 2024

To give some context for the motivation behind this:

This is currently causing errors for anything that depends on both protobuf and boost from the Bazel Central Registry when building with bzlmod.

The reason is due to the fact that a bunch of the boost libraries which were released on the BCR already depend on rules_cc v0.1.0.

@nicksnyder nicksnyder requested review from a user and removed request for a user January 14, 2025 04:14
@nicksnyder
Copy link
Member

FYI build is red so we can't consider merging this.

@kgreenek
Copy link
Contributor Author

I'm going to close this for now. It looks like rules_cc 0.1.0 was yanked, precisely to alleviate the urgency of this type of migration.

See: bazelbuild/bazel-central-registry#3582

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.

Problems with 'validate_proto' not declared in package 'validate'

3 participants