bored-glass-58755
08/30/2022, 9:34 PMgrpc_python_plugin
from the bin of the grpc installation rather than using a standalone binary? Just wanted to understand why it is not done that way currently before I open a feature request.hundreds-father-404
08/30/2022, 9:39 PMbored-glass-58755
08/30/2022, 9:45 PMhundreds-father-404
08/30/2022, 9:47 PMgrpc_python_plugin.py
if you want to try implementing too 🙂bored-glass-58755
08/30/2022, 9:47 PMbored-glass-58755
08/30/2022, 9:47 PMhundreds-father-404
08/30/2022, 9:49 PMJust to be sure, I need to do the contributor setup for Pants repo for this?Yeah, but you can also save yourself time by not actually running
./pants
. Simply change the URL and hashes in grpc_python_plugin.py
, then use CI to run the tests. That should be fine because this is a trivial change https://www.pantsbuild.org/docs/contributor-overview. (Rust compilation is slow the first time)bored-glass-58755
08/30/2022, 10:03 PMhundreds-father-404
08/30/2022, 10:05 PMbored-glass-58755
08/30/2022, 10:51 PMbored-glass-58755
08/30/2022, 11:12 PMgrpcio
and grpcio-tools
in my requirements.txt
, then Pants will install them in the virtualenv that it uses for itself. Why can't grpc-python-plugin
use that installation instead of having to rely on the standalone binaries?bored-glass-58755
08/31/2022, 1:18 PMlimited-country-20626
09/01/2022, 1:39 PMlimited-country-20626
09/01/2022, 1:40 PM