big-xylophone-43403
06/30/2022, 8:33 PMbig-xylophone-43403
06/30/2022, 8:34 PMprotobuf==3.15.0
But Pants 2.12
defaults to 3.20.1
big-xylophone-43403
06/30/2022, 8:35 PMbig-xylophone-43403
06/30/2022, 8:36 PM--protoc-known-versions
as well. Which is a bit tedious.big-xylophone-43403
06/30/2022, 8:36 PMbig-xylophone-43403
06/30/2022, 8:37 PMprotobuf
dependency specified in the requirements?fast-nail-55400
06/30/2022, 8:49 PMbig-xylophone-43403
06/30/2022, 8:50 PMpython
fast-nail-55400
06/30/2022, 8:55 PMprotoc
binary is also used for other languages in Pants.) And the notion of āresolveā and tool config are separate in the code.
A more tractable solution would be for Pants to contain the digests for most recent versions of protoc
for the default value of --protoc-known-versions
which would avoid the user having to fill it in.
That was the solution used for terraform
known versions in a recent PR.big-xylophone-43403
06/30/2022, 8:59 PMbig-xylophone-43403
06/30/2022, 9:01 PM