Repository navigation
Using absolute imports in core modules that import grpc. - #2632
Conversation
This is because a relative import (in Python 2.7) was causing failures when google.cloud.grpc was side-by-side with google.cloud._helpers, etc.
|
@bjwatson ISTM that in later generations of GAPIC generated code the i.e. it is brought in by the speech deps (uploaded on sept. 30) https://pypi.python.org/pypi/grpc-google-cloud-speech-v1beta1/0.11.1 |
|
Chatted @bjwatson, he confirmed that /FYI @jonparrott |
|
Yep - remember having that discussion a while back. SGTM. |
Using absolute imports in core modules that import grpc.
This is because a relative import (in Python 2.7) was causing failures when
google.cloud.grpcwas side-by-side withgoogle.cloud._helpers, etc.For example, see the failure: https://travis-ci.org/GoogleCloudPlatform/google-cloud-python/builds/171149390#L1738-L1750
FYI @geigerj @bjwatson
To repro (before this PR):