Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency conflict with protobuf and grpcio-reflection #120

Closed
BSchilperoort opened this issue Nov 10, 2022 · 1 comment
Closed

Dependency conflict with protobuf and grpcio-reflection #120

BSchilperoort opened this issue Nov 10, 2022 · 1 comment

Comments

@BSchilperoort
Copy link
Contributor

Pinning protobuf to version 3 seems to cause a dependency conflict with grpcio-reflection. Separately installing a previous version (grpcio-reflection==1.48.2) seems to solve the problem.

Full error message:

Failed to build grpc4bmi
ERROR: grpcio-reflection 1.50.0 has requirement protobuf>=4.21.6, but you'll have protobuf 3.20.3 which is incompatible.
Installing collected packages: basic-modeling-interface, websocket-client, urllib3, idna, certifi, charset-normalizer, requests, pyparsing, packaging, docker, six, grpcio, protobuf, grpcio-reflection, numpy, typeguard, grpc4bmi
    Running setup.py install for grpc4bmi ... done
Successfully installed basic-modeling-interface-0.2 certifi-2022.9.24 charset-normalizer-2.1.1 docker-6.0.1 grpc4bmi-0.2.15 grpcio-1.50.0 grpcio-reflection-1.50.0 idna-3.4 numpy-1.23.4 packaging-21.3 protobuf-3.20.3 pyparsing-3.0.9 requests-2.28.1 six-1.16.0 typeguard-2.13.3 urllib3-1.26.12 websocket-client-1.4.2

Related to #115

@BSchilperoort BSchilperoort changed the title Dependency conflict Dependency conflict with protobuf and grpcio-reflection Nov 10, 2022
@sverhoeven
Copy link
Member

In #126, protobuf is pinned to 4 and grpcio-reflection is unpinned which causes no conflict at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants