-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
bigquery: dependency broken. #11542
Comments
@furusax0621 thanks for the report, the same issue was identified here #11344 and got fixed with PR #11444. The workaround for now is to run |
🤖 I have created a release *beep* *boop* --- ## [1.66.2](https://togithub.com/googleapis/google-cloud-go/compare/bigquery/v1.66.1...bigquery/v1.66.2) (2025-02-04) ### Bug Fixes * **bigquery:** Broken github.com/envoyproxy/go-control-plane/envoy dep ([#11556](https://togithub.com/googleapis/google-cloud-go/issues/11556)) ([e70d63b](https://togithub.com/googleapis/google-cloud-go/commit/e70d63bbc267c3b166bf264670b8b282a3651cc5)), refs [#11542](https://togithub.com/googleapis/google-cloud-go/issues/11542) --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
Documenting for others that land on this issue, I had to run |
@erezrokah thank you that worked! I do not use Copying the error message here to help future searchers find this solution: go: github.com/amacneil/dbmate/v2/pkg/driver/bigquery imports
cloud.google.com/go/bigquery tested by
cloud.google.com/go/bigquery.test imports
cloud.google.com/go/storage imports
google.golang.org/grpc/xds/googledirectpath imports
google.golang.org/grpc/internal/xds/bootstrap imports
github.com/envoyproxy/go-control-plane/envoy/config/core/v3: ambiguous import: found package github.com/envoyproxy/go-control-plane/envoy/config/core/v3 in multiple modules:
github.com/envoyproxy/go-control-plane v0.13.1 (/go/pkg/mod/github.com/envoyproxy/go-control-plane@v0.13.1/envoy/config/core/v3)
github.com/envoyproxy/go-control-plane/envoy v1.32.4 (/go/pkg/mod/github.com/envoyproxy/go-control-plane/envoy@v1.32.4/config/core/v3) Solution: go get -u cloud.google.com/go/storage && go mod tidy |
Client
bigquery
Environment
any
Code and Dependencies
Initialize the project and import the problematic package.
Then, import the package into the program. The following program is a minimal sample.
The
go.mod
at this point is as follows. The broken question is using the latest version (v1.66.0).go.mod
After that, run
go mod tidy
.Expected behavior
The project's package dependencies should be resolved correctly.
Actual behavior
The following error message appears, and dependency resolution fails.
message
It is likely that there is a missing dependency on the
github.com/envoyproxy/go-control-plane/envoy
package or that it depends on an outdated version. By additionally importing that package, the dependencies can be resolved correctly.The text was updated successfully, but these errors were encountered: