Skip to content

Upgrade google protobuf version 5.27.2 >= 6.31.1, now incompatible with other packages using google protobuf >= 6.x #1406

@Meess

Description

@Meess

Older google protobuf version is used, which makes it incompatible with other google packages (e.g. google-ai-generativelanguage, google-api-core, googleapis-common-protos, grpcio-status, onnxruntime, proto-plus) which do depend on 6.x version

Description

UserWarning: Protobuf gencode version 5.27.2 is exactly one major version older than the runtime version 6.31.1 at infinite_tracing.proto. Please update the gencode to avoid compatibility violations in the next runtime release.
  warnings.warn(

Expected Behavior

No warning, newrelic using the latest google protobuf version

Troubleshooting or NR Diag results

None atm, as we won't push to production in this state

Steps to Reproduce

install langchain-google-genai or google-genai latest version aside newrelic==10.13.0.

Your Environment

Local Django dev server
django 4.2.23
newrelic 10.13.0
google-genai 1.20.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIncorrect or flawed agent behavior.needs-triageRequires initial review by maintainers.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions