FS#80113 - [python-grpcio-tools] Missing dep on python-setuptools
Attached to Project:
Arch Linux
Opened by Châu (duongdominhchau) - Tuesday, 31 October 2023, 06:20 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:21 GMT
Opened by Châu (duongdominhchau) - Tuesday, 31 October 2023, 06:20 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:21 GMT
|
Details
Description:
Running `protoc` directly results in this error: ```console $ protoc -I../../protos --python_out=. --pyi_out=. --grpc_python_out=. ../../protos/helloworld.proto protoc-gen-grpc_python: program not found or is not executable Please specify a program using absolute path or make sure the program is available in your PATH system variable --grpc_python_out: protoc-gen-grpc_python: Plugin failed with status code 1. ``` Running `python -m grpc_tools.protoc -I ../../protos --python_out=. --pyi_out=. --grpc_python_out=. ../../protos/helloworld.proto` works, but need to install `python-setuptools` which is not in the dependency list of `python-grpc-tools` Additional info: * package version(s) ```console $ pacman -Qs grpc python local/python-grpcio 1.58.1-2 Python language bindings for grpc, remote procedure call (RPC) framework local/python-grpcio-tools 1.58.1-2 Python protobuf generator for GRPC ``` * config and/or log files etc. * link to upstream bug report, if any Steps to reproduce: 1. `git clone -b v1.58.0 --depth 1 --shallow-submodules https://github.com/grpc/grpc` 2. `cd grpc/examples/python/helloworld` 3. Run `protoc -I ../../protos --python_out=. --pyi_out=. --grpc_python_out=. ../../protos/helloworld.proto`, should see the error above 4. Run `python -m grpc_tools.protoc -I ../../protos --python_out=. --pyi_out=. --grpc_python_out=. ../../protos/helloworld.proto`, should error as well if `python-setuptools` is not installed |
This task depends upon
Closed by Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:21 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/grpc/issues/1
Saturday, 25 November 2023, 20:21 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/grpc/issues/1
Edit: Leaving it as-is because I can't find the edit button for the original post
grpcio-tools 1.58.1 requires setuptools, which is not installed.