Skip to content

Numerous builds/tests are broken by protobuf update #78362

@malfet

Description

@malfet

Current Status

mitigated

Error looks like

TypeError: Descriptors cannot not be created directly.
If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
If you cannot immediately regenerate your protos, some other possible workarounds are:
 1. Downgrade the protobuf package to 3.20.x or lower.
 2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).

More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates

Incident timeline (all times pacific)

Include when the incident began, when it was detected, mitigated, root caused, and finally closed.

Click for example

e.g.

  • 10/30 7:27a incident began
  • 10/30 8:30a detected by
  • 10/30 9:00 pm root caused as…
  • 10/30 9:10 pm mitigated by…
  • 10/31 10: am closed by…

User impact

How does this affect users of PyTorch CI?

Root cause

What was the root cause of this issue?

Mitigation

How did we mitigate the issue?

Prevention/followups

How do we prevent issues like this in the future?

cc @ezyang @gchanan @zou3519

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions