Closed onionyst closed 3 years ago
Thanks for pointing this out. I think we can upgrade the python version of protobuf to match the system version.
I believe I've fixed this with 943d4eb79a8ff7ae4edba29a1130a08d98791ccc - pypanda's setup.py now checks the system's version of protoc and just requires that version. This won't work if the protoc version number and the pip protobuf package ever get out of sync, but it seems like this is an improvement over pinning an old version.
I also added a test for the install_ubuntu.sh script to the CI.
Docker image
pandare/pandadev:latest
(DIGEST306eacc011ca
) may have a conflict on default Protobuf versions between its base image Ubuntu 20.04 (protobuf 3.6.1 for focal) and Python 3.8 (protobuf 3.0.0 latest confirmed in ecfe828a302cdd99cf0858063d27624c49dcb3f1). The/panda/panda/scripts/install_ubuntu.sh
script now ends up with a protobuf error:Reproduce steps:
docker run -it --rm pandare/pandadev:latest bash
./panda/panda/scripts/install.sh
inside the container.Since it is not an easy job to downgrade protobuf-compiler version in the Ubuntu 20.04 Docker base image, is there any possibility for upgrading the globally installed protobuf version?