Skip to content

Protobuf version issue #1846

@brianchunkang

Description

@brianchunkang

xprof 2.20.6 specifies that its minimum version is protobuf 3.19, but it relies on a file (runtime_version.py) that was introduced into protobuf in 4.30: protocolbuffers/protobuf@554a00c

Error here:
File "/home/.../xprof/protobuf/trace_events_old_pb2.py", line 9, in
from google.protobuf import runtime_version as _runtime_version
ImportError: cannot import name 'runtime_version' from 'google.protobuf' (/home/.../xprof/lib64/python3.11/site-packages/google/protobuf/init.py)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions