<@U0165SDP3BQ> <@UP4PLM3F0> <@U01UBDC4E1L> How do ...
# flytekit-java
h
@boundless-pizza-95864 @better-air-29727 @boundless-twilight-37555 How do we go about updating flyteidl version (and generating grpc client) flytekit-java?
CC @miniature-branch-21249
šŸ‘ 1
m
(I'm happy to help out in getting a new version published, if someone points me to the right place to start).
b
I’m currently looking into this, also to learn more. The first step is to update the protos: In flytekit-java:
Copy code
make update_flyteidl
Next step is compile just the flyteidl submodule with maven to see the protoc errors:
Copy code
mvn compile -DskipTests=true -pl flyteidl-protos -am -X
It reports a bunch of errors:
Copy code
[ERROR] PROTOC FAILED: flyteidl/core/workflow.proto:14:1: warning: Import flyteidl/core/security.proto is unused.
protoc-gen-swagger/options/annotations.proto: File not found.
flyteidl/service/dataproxy.proto:7:1: Import "protoc-gen-swagger/options/annotations.proto" was not found or had errors.
flyteidl/service/dataproxy.proto:6:1: warning: Import google/api/annotations.proto is unused.
Seems like the new
import "google/api/annotations.proto";
causes trouble, because the imported protos are missing here.
@high-park-82026 compilation and tests succeeding locally now. PR coming soon.