From 191b0516335f5c60828a818ba79e99d6c68aa7bd Mon Sep 17 00:00:00 2001 From: Peter Lamut Date: Thu, 16 Apr 2020 19:18:05 +0200 Subject: [PATCH] fix: restrict api-core dependency to < 1.17.0 (#76) Version 1.17.0 causes problems on re-establishing streams on retryable errors, thus restricting it. --- setup.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 99e009844..ca24d2ad1 100644 --- a/setup.py +++ b/setup.py @@ -29,7 +29,10 @@ # 'Development Status :: 5 - Production/Stable' release_status = "Development Status :: 5 - Production/Stable" dependencies = [ - "google-api-core[grpc] >= 1.14.0, < 2.0.0dev", + # google-api-core[grpc] 1.17.0 causes problems, thus restricting its + # version until the issue gets fixed. + # https://github.com/googleapis/python-pubsub/issues/74 + "google-api-core[grpc] >= 1.14.0, < 1.17.0", "grpc-google-iam-v1 >= 0.12.3, < 0.13dev", 'enum34; python_version < "3.4"', ]