moby / libnetwork

networking for containers
Apache License 2.0
2.16k stars 881 forks source link

module google.golang.org/grpc@latest found (v1.50.1), but does not contain package google.golang.org/grpc/naming #2667

Closed dimitar-dimitrow closed 10 months ago

dimitar-dimitrow commented 2 years ago

When I try to run go mod tidy I am getting the following error:

go: finding module for package google.golang.org/grpc/naming
github.com/eclipse-kanto/container-management/containerm/network imports
        github.com/docker/libnetwork imports
        github.com/docker/libkv/store/etcd imports
        github.com/coreos/etcd/client tested by
        github.com/coreos/etcd/client.test imports
        github.com/coreos/etcd/integration imports
        github.com/coreos/etcd/proxy/grpcproxy imports
        google.golang.org/grpc/naming: module google.golang.org/grpc@latest found (v1.50.1), but does not contain package google.golang.org/grpc/naming

On the other hand I am not able to lower the google.golang.org/grpc version to the latest containing the naming package - 1.29.1, because containerd needs package available in more recent version.

github.com/eclipse-kanto/container-management/containerm/ctr imports
        github.com/containerd/containerd imports
        google.golang.org/grpc/credentials/insecure: module google.golang.org/grpc@latest found (v1.50.1, replaced by google.golang.org/grpc@v1.29.1), but does not contain package google.golang.org/grpc/credentials/insecure

Could the google.golang.org/grpc dependency be updated?

rudianto-dev commented 10 months ago

i have similar issue, any update for this issue ?

dimitar-dimitrow commented 10 months ago

As stated in the README the libnetwork has moved to https://github.com/moby/moby/tree/master/libnetwork. I`ve switched to using it, there the grpc version is up to date.