-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
needs more infoThis issue needs more information from the customer to proceed.This issue needs more information from the customer to proceed.priority: p3Desirable enhancement or fix. May not be included in next release.Desirable enhancement or fix. May not be included in next release.type: questionRequest for information or clarification. Not an issue.Request for information or clarification. Not an issue.
Description
Hi,
I am using only google.golang.org/api/androidpublisher/v3 on my application to manage play store subscription. Since the v0.174.0 when the dependency to app engine was removed, I got import errors:
api | 2024/04/24 13:32:12 Error while building:
api | go: downloading google.golang.org/api v0.176.1
api | go: downloading golang.org/x/sync v0.7.0
api | go: downloading cloud.google.com/go/auth v0.3.0
api | go: downloading cloud.google.com/go/auth/oauth2adapt v0.2.2
api | go: downloading cloud.google.com/go/compute v1.24.0
api | go: downloading cloud.google.com/go v0.26.0
api | /go/pkg/mod/cloud.google.com/go/auth@v0.3.0/internal/internal.go:31:2: ambiguous import: found package cloud.google.com/go/compute/metadata in multiple modules:
api | cloud.google.com/go v0.26.0 (/go/pkg/mod/cloud.google.com/go@v0.26.0/compute/metadata)
api | cloud.google.com/go/compute/metadata v0.3.0 (/go/pkg/mod/cloud.google.com/go/compute/metadata@v0.3.0)
I don't get how to address that issue, the only workaround I have found to far is too keep cloud.google.com/go/compute v1.25.1 // indirect
Unfortunately it gets removed at every go work sync or go mod tidy as I don't use it on my module.
Is there a better solution?
Have a nice day,
Florent
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
needs more infoThis issue needs more information from the customer to proceed.This issue needs more information from the customer to proceed.priority: p3Desirable enhancement or fix. May not be included in next release.Desirable enhancement or fix. May not be included in next release.type: questionRequest for information or clarification. Not an issue.Request for information or clarification. Not an issue.