Just for context: We don't need to pin the python version here. Since diambra-engine is generated by grpcio-tools 1.48.2 it will have the constraint protobuf <4.0dev,>=3.12.0 which means it can by installed with python 3.11 just fine.
Now if you try to install tensorflow as well, it will depend on protobuf <3.20,>=3.9.2, limiting the overall constraint to protobuf <3.20,>=3.12.0. That works with python 3.10 but in 3.11 it won't find any version since all candidates of protobuf support only <=3.10.
Closed in favor of #58
Just for context: We don't need to pin the python version here. Since diambra-engine is generated by grpcio-tools 1.48.2 it will have the constraint
protobuf <4.0dev,>=3.12.0
which means it can by installed with python 3.11 just fine.Now if you try to install tensorflow as well, it will depend on
protobuf <3.20,>=3.9.2
, limiting the overall constraint toprotobuf <3.20,>=3.12.0
. That works with python 3.10 but in 3.11 it won't find any version since all candidates of protobuf support only <=3.10.