Skip to content

Commit

Permalink
restrict protobuf library version to <= 3.20.1
Browse files Browse the repository at this point in the history
There are backwards incompatible changes in the latest release of protobuf. See #214 and https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates

This is a temporary fix by setting an upper limit to protobuf library.

The proper fix would be to regenerate the _pb2.py files, however it is unclear at the moment if this would keep working on systems with `protobuf<4.21`. For reference, ubuntu 22.04 currently has protobuf version 3.12.4.
  • Loading branch information
PiRK committed May 31, 2022
1 parent bf775fb commit cd7244e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/requirements/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ pyaes>=1.6.1
ecdsa>=0.15
requests
qrcode
protobuf>=3.7.1
protobuf>=3.7.1,<=3.20.1
dnspython[DNSSEC]
jsonrpclib-pelix
PySocks>=1.6.6
Expand Down

0 comments on commit cd7244e

Please sign in to comment.