-
Type: Task
-
Status: To Do (View Workflow)
-
Priority: Low
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Unknown
-
Labels:None
-
Story Points:0
repo:voltha-protos depends on module google.golang.org/grpc
https://gerrit.opencord.org/plugins/gitiles/voltha-protos/+/refs/tags/v5.4.6/go.mod#8
module github.com/opencord/voltha-protos/v5 go 1.16 require ( github.com/golang/protobuf v1.5.2 google.golang.org/genproto v0.0.0-20220208230804-[snip] google.golang.org/grpc v1.44.0 )
'Package naming' was removed around v1.30
- Package naming defines the naming API and related data structures for gRPC.
- This package is deprecated: please use package resolver instead.
Trying to install the latest version v1.56.2
- https://pkg.go.dev/google.golang.org/grpc?tab=versions
- Will cause the mod-update and go mod tidy to fail
% make mod-update ** --------------------------------------------------------------------------- ** make ENTER: Target mod-tidy ** --------------------------------------------------------------------------- docker run --rm --user $(id -u):$(id -g) --interactive --tty -v {CWD}:/app -gocache:/.cache -v gocache-2.4.0:/go/pkg voltha/voltha-ci-tools:2.4.0-golang go mod tidy go: finding module for package google.golang.org/grpc/naming github.com/opencord/voltha-lib-go/v7/pkg/db/kvstore imports go.etcd.io/etcd/clientv3 tested by go.etcd.io/etcd/clientv3.test imports github.com/coreos/etcd/integration imports github.com/coreos/etcd/proxy/grpcproxy imports google.golang.org/grpc/naming: modul google.golang.org/grpc@latest found (v1.56.2, replaced by google.golang.org/grpc@v1.56.2), but does not contain package google.golang.org/grpc/naming make: *** [Makefile:85: mod-tidy] Error 1
Edits will be needed for the go package imports before we can upgrade.
Not trying this in the middle of release, rolling back to the current version v1.44.0
# | Subject | Branch | Project | Status | CR | V |
---|---|---|---|---|---|---|
34431,1 | [VOL-5056] - Build and release voltha-protos | master | voltha-protos | Status: MERGED | +2 | +1 |