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

Remove erroneous dependencies @com_google_googletest//:gtest and @com… #12276

Merged
merged 1 commit into from
Mar 20, 2023

Conversation

mkruskal-google
Copy link
Member

…_google_googletest//:gtest_main from //src/google/protobuf/json:parser (#12267)

Downstream bazel projects that depend on protoc would need to provide googletest dependencies when it should not be necessary to do so.

Fixes #11409

Closes #12267

COPYBARA_INTEGRATE_REVIEW=#12267 from prestonvanloon:remove-erroneous-googletest-dep 09fd163 PiperOrigin-RevId: 517974450

…_google_googletest//:gtest_main from //src/google/protobuf/json:parser (protocolbuffers#12267)

Downstream bazel projects that depend on protoc would need to provide googletest dependencies when it should not be necessary to do so.

Fixes protocolbuffers#11409

Closes protocolbuffers#12267

COPYBARA_INTEGRATE_REVIEW=protocolbuffers#12267 from prestonvanloon:remove-erroneous-googletest-dep 09fd163
PiperOrigin-RevId: 517974450
@deannagarcia deannagarcia added the 🅰️ safe for tests Mark a commit as safe to run presubmits over label Mar 20, 2023
@github-actions github-actions bot removed the 🅰️ safe for tests Mark a commit as safe to run presubmits over label Mar 20, 2023
@mkruskal-google mkruskal-google merged commit 777df3d into protocolbuffers:22.x Mar 20, 2023
@suztomo
Copy link
Contributor

suztomo commented Apr 12, 2023

I'm hitting no such package '@com_google_googletest//': The repository '@com_google_googletest' could not be resolved: Repository '@com_google_googletest' is not defined and referenced by '@com_google_protobuf//src/google/protobuf/json:parser googleapis/sdk-platform-java#1369 (comment) when I tried to upgrade to Protobuf 3.22.2 in the Java project. It seems this 777df3d has not been released yet.

Looking forward to this fix to be released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants