Skip to content

Commit 57cce40

Browse files
committed
requirements.txt: Pin protobuf
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]>
1 parent 53248f2 commit 57cce40

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

requirements.txt

+2
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,5 @@ git+https://github.com/openstack-charmers/zaza#egg=zaza
6262
# * https://github.com/openstack-charmers/zaza/issues/421
6363
# * https://mail.python.org/pipermail/cryptography-dev/2021-January/001003.html
6464
cryptography<3.4
65+
66+
protobuf<3.21.0

0 commit comments

Comments
 (0)