Fix CI job errors due to protobuf dependencies 28/133028/1
authorLincoln Thurlow <lincoln@isi.edu>
Wed, 25 Jan 2023 18:53:56 +0000 (10:53 -0800)
committerLincoln Thurlow <lincoln@isi.edu>
Wed, 25 Jan 2023 18:53:56 +0000 (10:53 -0800)
Pin python protobuf package to 3.6.1 for all of the conductor.
By explicitly pinning the protobuf package in conductor's
requirement.txt file we force pip to install protobuf version
3.6.1, which is the minimum needed version for etcd3 to work.

This pinning prevents pip from installing a version of protobuf
3.20.X and above, which causes CI jobs to fail due to the
breaking changes introduced in 3.20.X protobuf.

Issue-ID: OPTFRA-1132
Signed-off-by: Lincoln Thurlow <lincoln@isi.edu>
Change-Id: If1b1be4810cb65be15e0b60d904b4027e6dce428

conductor/requirements.txt

index eb6eba6..204b64c 100644 (file)
@@ -29,6 +29,7 @@ prometheus-client>=0.3.1
 pycryptodomex==3.10.1
 jsonschema>=3.2.0
 tosca-parser>=2.2.0
+protobuf==3.6.1 # Hard requirement to force etcd3 to use this version
 etcd3==0.12.0
 grpcio==1.42.0
 WebTest==3.0.0