If protoc_version is specified, that particular version is downloaded as part of the build. It is not cached across pip tmp build environments, but will only be downloaded once per pip tmp build environment.
If protoc_version is not specified, it uses the old behavior of using the pre-installed version via either PROTOC environment variable, or system default.
I have tested this on darwin/aarch64, linux/aarch64, and linux/amd64.
Adds feature #24
If
protoc_version
is specified, that particular version is downloaded as part of the build. It is not cached across pip tmp build environments, but will only be downloaded once per pip tmp build environment.If
protoc_version
is not specified, it uses the old behavior of using the pre-installed version via eitherPROTOC
environment variable, or system default.I have tested this on darwin/aarch64, linux/aarch64, and linux/amd64.