From 22e022012b078bad851b913cd81daa23e42fa686 Mon Sep 17 00:00:00 2001 From: Frode Nordahl Date: Thu, 7 Dec 2023 17:23:17 +0100 Subject: [PATCH] test-requirements.txt: Pin protobuf The tests currently fail with this message: ERROR: Failure: TypeError (Descriptors cannot be created directly. If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0. If you cannot immediately regenerate your protos, some other possible workarounds are: 1. Downgrade the protobuf package to 3.20.x or lower. Signed-off-by: Frode Nordahl --- test-requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/test-requirements.txt b/test-requirements.txt index e93a02978..edf088ad7 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -17,5 +17,6 @@ keystoneauth1 oslo.config python-novaclient tenacity +protobuf<3.21.0 # Fix upper version to ensure compatibility with Juju 3.1 juju<3.2