Closed wackywendell closed 4 weeks ago
Ah! I just found a comment explaining why the protoc
behavior changed:
In order to rely on as few external dependencies as possible, all protoc invocations by the various parts of the build invoke the
protoc
executable as found/compiled and exposed by prost-build. That is: this protoc is also abused to generate Python bindings. Unfortunately, prost-build is planning to remove the build logic for protoc at the time of writing (and who can blame them), so this will need to be done differently in the future.
Well, I'm doing it here! I'll add a commit updating that comment.
This PR updates the
prost{-*}
,pyo3
, andcbindgen
dependencies.pyo3
in particular was causing a build error in other PRs. This PR should now pass all CI.Notes
In addition to updating the dependency versions and the code that calls it where necessary, I also found that
protoc
was missing in a number of CI jobs where it seemed to be needed. I'm not sure how this worked before; my best guess was that the generated code was cached and carried over, and updatingprost
changed that.Build Error
in particular, this is intended to fix this error: