From 645f730d303fb63fa889af7ad2f55b1ec9493a90 Mon Sep 17 00:00:00 2001 From: Otto Winter Date: Sat, 16 Mar 2019 12:51:17 +0100 Subject: [PATCH] Pin protobuf to 3.6.1 --- setup.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 0d17c6f..32f12e4 100644 --- a/setup.py +++ b/setup.py @@ -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', ]