From b8dc0d396bdb1df7657756078faddb46a3e80653 Mon Sep 17 00:00:00 2001 From: Allen Porter Date: Mon, 23 Aug 2021 15:24:43 -0700 Subject: [PATCH] Pin google-api-core to avoid new version that depends on problematic grpcio --- homeassistant/package_constraints.txt | 9 +++++---- script/gen_requirements_all.py | 9 +++++---- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/homeassistant/package_constraints.txt b/homeassistant/package_constraints.txt index 669ad7f74849d5..e46b0047a7ea60 100644 --- a/homeassistant/package_constraints.txt +++ b/homeassistant/package_constraints.txt @@ -50,12 +50,13 @@ httplib2>=0.19.0 # gRPC 1.32+ currently causes issues on ARMv7, see: # https://github.com/home-assistant/core/issues/40148 -grpcio==1.31.0 - -# Newer versions of cloud pubsub pin a higher version of grpcio. This can -# be reverted when the grpcio pin is reverted, see: +# Newer versions of some other libraries pin a higher version of grpcio, +# so those also need to be kept at an old version until the grpcio pin +# is reverted, see: # https://github.com/home-assistant/core/issues/53427 +grpcio==1.31.0 google-cloud-pubsub==2.1.0 +google-api-core<=1.31.2 # This is a old unmaintained library and is replaced with pycryptodome pycrypto==1000000000.0.0 diff --git a/script/gen_requirements_all.py b/script/gen_requirements_all.py index 934ea9be90c93e..c2c98191a85037 100755 --- a/script/gen_requirements_all.py +++ b/script/gen_requirements_all.py @@ -71,12 +71,13 @@ # gRPC 1.32+ currently causes issues on ARMv7, see: # https://github.com/home-assistant/core/issues/40148 -grpcio==1.31.0 - -# Newer versions of cloud pubsub pin a higher version of grpcio. This can -# be reverted when the grpcio pin is reverted, see: +# Newer versions of some other libraries pin a higher version of grpcio, +# so those also need to be kept at an old version until the grpcio pin +# is reverted, see: # https://github.com/home-assistant/core/issues/53427 +grpcio==1.31.0 google-cloud-pubsub==2.1.0 +google-api-core<=1.31.2 # This is a old unmaintained library and is replaced with pycryptodome pycrypto==1000000000.0.0