Skip to content

Commit

Permalink
test-requirements.txt: Pin protobuf
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
fnordahl committed Dec 7, 2023
1 parent 6e3b91b commit 22e0220
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 22e0220

Please sign in to comment.