You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to update my repo to use go 1.21. That requires the latest version or gazelle and rules_go.
When I am trying to use gateway_grpc_library in a repo that has the latest version, I get the following error, even though go_googleapis is not defined/used anywhere in my repo.
I know this is not a proper bug report, and I will need to provide a reproducer, but I wanted to check and see if updating the version of rules_go and gazelle can break gateway_grpc_library, or is it something else in my repo setup that is more likely to be broken?
UPD: I tried to update versions here: #277
I did try to include https://github.com/googleapis/googleapis repo and gazelle:resolve stanzas as per the advice in the release notes for rules_go, but still that did not work.
So I am wondering if the fix that fix is also needed to repositories.bzl in this repo, if it were to be used with the latest rules_go?
Log Output
plain text
ERROR: /var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/5a6fc9ff7fa4373be5f3f379b34ac692/external/rules_proto_grpc/grpc-gateway/example/api/BUILD.bazel:4:14: no such package '@go_googleapis//google/api': The repository '@go_googleapis' could not be resolved: Repository '@go_googleapis' is not defined
rules_proto_grpc Version
4.4.0
Bazel Version
6.3.2
OS
Ubuntu 22.04
Link to Demo Repo
No response
WORKSPACE Content
No response
BUILD Content
No response
Proto Content
No response
Any Other Content
No response
The text was updated successfully, but these errors were encountered:
Issue Description
The rules_go 0.41.0 and gazelle 0.32.0 added the breaking go_googleapis change.
This repo uses go_googleapis in multiple places. E.g.: gateway_grpc_library
I am trying to update my repo to use go 1.21. That requires the latest version or gazelle and rules_go.
When I am trying to use gateway_grpc_library in a repo that has the latest version, I get the following error, even though go_googleapis is not defined/used anywhere in my repo.
I know this is not a proper bug report, and I will need to provide a reproducer, but I wanted to check and see if updating the version of
rules_go
andgazelle
can breakgateway_grpc_library
, or is it something else in my repo setup that is more likely to be broken?UPD: I tried to update versions here: #277
I did try to include https://github.com/googleapis/googleapis repo and
gazelle:resolve
stanzas as per the advice in the release notes for rules_go, but still that did not work.So I am wondering if the fix that fix is also needed to repositories.bzl in this repo, if it were to be used with the latest
rules_go
?Log Output
rules_proto_grpc Version
4.4.0
Bazel Version
6.3.2
OS
Ubuntu 22.04
Link to Demo Repo
No response
WORKSPACE Content
No response
BUILD Content
No response
Proto Content
No response
Any Other Content
No response
The text was updated successfully, but these errors were encountered: