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
Use google.golang.org/grpc v1.29.1 to fix a dependency issue #394
Conversation
go.etcd.io/etcd depends on deprecated packages of gRPC that have been removed. This causes that go mod cannot build the dependency tree and utilities like `go mod tidy` or `go mod vendor` does not work properly. This fix uses a gRPC version that supports old and new interfaces. So it can be used by etcd and google cloud packages. Fixes #377
go.mod
Outdated
gopkg.in/square/go-jose.v2 v2.5.1 | ||
software.sslmate.com/src/go-pkcs12 v0.0.0-20201103104416-57fc603b7f52 | ||
) | ||
|
||
// This is a temporal workaround to fix a dependency problem between etcd and | ||
// gRPC. The gRPC v1.29.1 supports old a new interfaces, so it can be used by |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
old and new interfaces
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in ca7d62d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
approved, but just fix the one grammar thing I noted.
Codecov Report
@@ Coverage Diff @@
## master #394 +/- ##
==========================================
- Coverage 63.89% 62.92% -0.98%
==========================================
Files 56 56
Lines 6692 6993 +301
==========================================
+ Hits 4276 4400 +124
- Misses 2190 2367 +177
Partials 226 226
Continue to review full report at Codecov.
|
Description
go.etcd.io/etcd depends on deprecated packages of gRPC that have been removed. This causes that go mod cannot build the dependency tree, and utilities like
go mod tidy
orgo mod vendor
does not work properly.This fix uses a gRPC version that supports old and new interfaces. So it can be used by etcd and google cloud packages.
Fixes #377