Pin protobuf to 3.6.1

This commit is contained in:
Otto Winter 2019-03-16 12:51:17 +01:00
parent a46452eca9
commit 645f730d30
No known key found for this signature in database
GPG Key ID: DB66C0BE6013F97E
1 changed files with 4 additions and 1 deletions

View File

@ -22,7 +22,10 @@ DOWNLOAD_URL = '{}/archive/{}.zip'.format(GITHUB_URL, VERSION)
REQUIRES = [
'attrs',
'protobuf>=3.6',
# Pin protobuf version to 3.6.1, 3.7 is slightly incompatible with the generated
# api_pb2.py. We could upgrade to 3.7, but that breaks HA installs because
# image_processing.tensorflow pins protobuf to 3.6.1
'protobuf==3.6.1',
'zeroconf>=0.21.3',
]