Skip to content

Commit 58f170b

Browse files
authored
Pin google-api-core to avoid new version of grpcio (#55115)
1 parent 5a58aa9 commit 58f170b

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

homeassistant/package_constraints.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,13 @@ httplib2>=0.19.0
5050

5151
# gRPC 1.32+ currently causes issues on ARMv7, see:
5252
# https://github.com/home-assistant/core/issues/40148
53-
grpcio==1.31.0
54-
55-
# Newer versions of cloud pubsub pin a higher version of grpcio. This can
56-
# be reverted when the grpcio pin is reverted, see:
53+
# Newer versions of some other libraries pin a higher version of grpcio,
54+
# so those also need to be kept at an old version until the grpcio pin
55+
# is reverted, see:
5756
# https://github.com/home-assistant/core/issues/53427
57+
grpcio==1.31.0
5858
google-cloud-pubsub==2.1.0
59+
google-api-core<=1.31.2
5960

6061
# This is a old unmaintained library and is replaced with pycryptodome
6162
pycrypto==1000000000.0.0

script/gen_requirements_all.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,13 @@
7171
7272
# gRPC 1.32+ currently causes issues on ARMv7, see:
7373
# https://github.com/home-assistant/core/issues/40148
74-
grpcio==1.31.0
75-
76-
# Newer versions of cloud pubsub pin a higher version of grpcio. This can
77-
# be reverted when the grpcio pin is reverted, see:
74+
# Newer versions of some other libraries pin a higher version of grpcio,
75+
# so those also need to be kept at an old version until the grpcio pin
76+
# is reverted, see:
7877
# https://github.com/home-assistant/core/issues/53427
78+
grpcio==1.31.0
7979
google-cloud-pubsub==2.1.0
80+
google-api-core<=1.31.2
8081
8182
# This is a old unmaintained library and is replaced with pycryptodome
8283
pycrypto==1000000000.0.0

0 commit comments

Comments
 (0)