Skip to content

Pinned protobuf version leads to dependency conflict with tensorflow>=2.13 and gRPC on M1/M2 #2261

Open
@Zahlii

Description

@Zahlii

tf2onnx>=1.15 pins protobuf~=3.20.2.
Tensorflow >=2.13 requires tf2onnx >= 1.15 due to #2215

In order to use gRPC natively with M1/M2 chips, we need at least grpcio>=1.51.3, which in turn requires protobuf>=4.x

As a result, I can NOT use tensorflow in combination with gRPC on M1/m2, as long as I need tensorflow >= 2.13.

Could we simply unpin the protobuf version in setup.py?

See also #2243

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestpending on user responseWaiting for more information or validation from user

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions