Skip to content

Commit 7bc2860

Browse files
authored
Requiring latest release of concurrent futures backport. (googleapis#4521)
See: agronholm/pythonfutures#63
1 parent 22a5a4a commit 7bc2860

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

api_core/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
]
6363

6464
EXTRAS_REQUIREMENTS = {
65-
':python_version<"3.2"': ['futures >= 3.0.0'],
65+
':python_version<"3.2"': ['futures >= 3.2.0'],
6666
'grpc': ['grpcio >= 1.7.0'],
6767
}
6868

pubsub/google/cloud/pubsub_v1/subscriber/policy/thread.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def __init__(self, client, subscription, flow_control=types.FlowControl(),
108108
# Also maintain a request queue and an executor.
109109
if executor is None:
110110
executor_kwargs = {}
111-
if sys.version_info >= (3, 6):
111+
if sys.version_info[:2] == (2, 7) or sys.version_info >= (3, 6):
112112
executor_kwargs['thread_name_prefix'] = (
113113
'ThreadPoolExecutor-SubscriberPolicy')
114114
executor = futures.ThreadPoolExecutor(

pubsub/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151

5252

5353
REQUIREMENTS = [
54-
'google-api-core[grpc] >= 0.1.1, < 0.2.0dev',
54+
'google-api-core[grpc] >= 0.1.2.dev1, < 0.2.0dev',
5555
'google-auth >= 1.0.2, < 2.0dev',
5656
'grpc-google-iam-v1 >= 0.11.1, < 0.12dev',
5757
'psutil >= 5.2.2, < 6.0dev',

0 commit comments

Comments
 (0)