can be removed. grpcio is automatically installed by grpcio-tools and googleapis-common-protos is not actually needed because google/api/annotations.proto is not actually needed by the Python gRPC client. As mentioned below, --mypy_out=. does not seem to be actually needed, so that removes the need for mypy-protobuf.
There are some things in the Python gRPC client instructions that were never needed or are no longer needed.
On lines https://github.com/lightningnetwork/lnd/blob/e6efa2e438d8ae151b6df6ce7aa26873c3b990e1/docs/grpc/python.md?plain=1#L20-L24
grpcio googleapis-common-protos mypy-protobuf
can be removed.
grpcio
is automatically installed bygrpcio-tools
andgoogleapis-common-protos
is not actually needed becausegoogle/api/annotations.proto
is not actually needed by the Python gRPC client. As mentioned below,--mypy_out=.
does not seem to be actually needed, so that removes the need formypy-protobuf
.Lines https://github.com/lightningnetwork/lnd/blob/e6efa2e438d8ae151b6df6ce7aa26873c3b990e1/docs/grpc/python.md?plain=1#L25-L29
can be deleted.
On lines
https://github.com/lightningnetwork/lnd/blob/e1df8e9161d070e8b6b362fe13f637b2d92ae750/docs/grpc/python.md?plain=1#L38
and
https://github.com/lightningnetwork/lnd/blob/e1df8e9161d070e8b6b362fe13f637b2d92ae750/docs/grpc/python.md?plain=1#L56
--proto_path=googleapis:.
can be replaced with--proto_path=.
.
I'm also not sure what
--mypy_out=.
is for on lineshttps://github.com/lightningnetwork/lnd/blob/e1df8e9161d070e8b6b362fe13f637b2d92ae750/docs/grpc/python.md?plain=1#L38
and
https://github.com/lightningnetwork/lnd/blob/e1df8e9161d070e8b6b362fe13f637b2d92ae750/docs/grpc/python.md?plain=1#L56
It also does not seem to be needed
Also, I'm not a Ruby user, but I'm guessing references to
googleapis
inhttps://github.com/lightningnetwork/lnd/blob/master/docs/grpc/ruby.md
can probably be removed as well.