open-traffic-generator / snappi

Open Traffic Generator SDK in Python and Go
MIT License
70 stars 7 forks source link

python grpcio/protobuf dependency is too strict #198

Open mgheorghe opened 1 year ago

mgheorghe commented 1 year ago

i'm using snappi for OPI project https://opiproject.org/ pip install --upgrade snappi pip install --upgrade pydpu

will be good if snappi will have a range of versions and be less strict on dependencies, grpcio and protobuf are pretty popular packages and other packages may have dependencies that may conflict with snappi

snappi 0.10.5 requires grpcio==1.44.0; python_version > "2.7", but you have grpcio 1.51.1 which is incompatible.
snappi 0.10.5 requires protobuf==3.20.1; python_version > "3.6", but you have protobuf 4.21.12 which is incompatible.
grpcio-tools 1.44.0 requires protobuf<4.0dev,>=3.5.0.post1, but you have protobuf 4.21.12 which is incompatible.

this item is not critical just asking to relax the dependency version solution pip install --upgrade snappi pydpu