diff --git a/homeassistant/package_constraints.txt b/homeassistant/package_constraints.txt index 1b65c5df9e0..218ba5bb890 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 934ea9be90c..c2c98191a85 100755 --- a/script/gen_requirements_all.py +++ b/script/gen_requirements_all.py @@ -71,12 +71,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