Skip to content
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

Update cc_proto to 0.1.0 and remove rules_proto dep #1210

Closed
wants to merge 2 commits into from

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
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