You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
google.protobuf.json_format.MessageToJson()including_default_value_fields argument has been deprecated and removed since protobuf v5.26. need to use `always_print_fields_with_nopresence instead.
Looks like the new parameter was added less than 2 months ago in protocolbuffers/protobuf#15703, so it would only be present in very recent versions of protobuf dependencies, which might be a bit restrictive.
For now, I'll add a restriction for the protobuf dependency to be < 5.0.0, and eventually we can update it to use the new parameter when we need to bump this dependency again for some reason.
Reacted by Rafael Toledo and Tokgo
Reacted by Wim Jeantine-Glenn, Roald Storm, Tobias Slettemoen Kongsvik and kgorthaumatec
@arcra Adding the upper bound like that is not really a great solution, because any reasonable solver with a constraint on protobuf>=5 will just go ahead and backtrack from tensorboard v2.17.0 to v2.16.2, and then remain broken.
A more compatible way to solve this is detect protobuf version and fix the call into json_format.MessageToJson conditionally depending on protobuf 4.x or 5.x.
Activity
DeepDuke commentedon Mar 26, 2024
@busFred TKS! Downgrading protobuf to 4.25 works.
arcra commentedon Mar 28, 2024
Thanks for flagging this.
Looks like the new parameter was added less than 2 months ago in protocolbuffers/protobuf#15703, so it would only be present in very recent versions of protobuf dependencies, which might be a bit restrictive.
For now, I'll add a restriction for the protobuf dependency to be < 5.0.0, and eventually we can update it to use the new parameter when we need to bump this dependency again for some reason.
Restricts the protobuf dependency to be < 5.0.0, due to a recent brea…
Restricts the protobuf dependency to be < 5.0.0, due to a recent brea…
[brief] Restrict protobuf version to be less than 5.0.0
Restricts the protobuf dependency to be < 5.0.0, due to a recent brea…
wimglenn commentedon Jun 10, 2024
@arcra Adding the upper bound like that is not really a great solution, because any reasonable solver with a constraint on protobuf>=5 will just go ahead and backtrack from tensorboard v2.17.0 to v2.16.2, and then remain broken.
A more compatible way to solve this is detect protobuf version and fix the call into
json_format.MessageToJsonconditionally depending on protobuf 4.x or 5.x.Relax protobuf<5.0.0 restriction
Relax `protobuf<5.0.0` restriction
Relax `protobuf<5.0.0` restriction
Relax `protobuf<5.0.0` restriction
Relax `protobuf<5.0.0` restriction
Relax `protobuf<5.0.0` restriction
Relax `protobuf<5.0.0` restriction
Relax `protobuf<5.0.0` restriction
Relax `protobuf<5.0.0` restriction
Relax `protobuf<5.0.0` restriction
Relax `protobuf<5.0.0` restriction (#6888)
Relax `protobuf<5.0.0` restriction (tensorflow#6888)
Relax `protobuf<5.0.0` restriction (#6888)
[brief] Remove the restriction on protobuf but increase tensorboard v…