Skip to content

Google protobuf 5 is incompatible #9566

@gshank

Description

Description

We specify google.protobuf: "protobuf>=4.0.0". Google has come out with a release candidate for version 5 which is incompatible with our code because keyword parameters to MessageToJson and MessageToDict have been renamed. There may be other incompatibilities. We need to either change our upper limit to < 5.0.0 or support google.protobuf 5 in our code.

This was seen internally because a pipeline uses pip install --pre.

Acceptance Criteria

An incompatible version of google protobuf cannot be installed.

Will backports be required?

Yes. We need to limit the protobuf version in all versions of dbt Core that use google protobuf functions.

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions