From 38ad567f7704760c4252e2c13921d4aa20048316 Mon Sep 17 00:00:00 2001 From: Lincoln Thurlow Date: Wed, 25 Jan 2023 10:53:56 -0800 Subject: [PATCH] Fix CI job errors due to protobuf dependencies 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 Change-Id: If1b1be4810cb65be15e0b60d904b4027e6dce428 --- conductor/requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/conductor/requirements.txt b/conductor/requirements.txt index eb6eba6..204b64c 100644 --- a/conductor/requirements.txt +++ b/conductor/requirements.txt @@ -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 -- 2.16.6